diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hellogpumipmap/mipmapgen.hlsl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/hellogpumipmap/mipmapgen.hlsl b/examples/hellogpumipmap/mipmapgen.hlsl index 6793b53..3d63fee 100644 --- a/examples/hellogpumipmap/mipmapgen.hlsl +++ b/examples/hellogpumipmap/mipmapgen.hlsl @@ -1,3 +1,6 @@ +// This is basically a simplified (power-of-two only), deoptimized and thus more readable version of +// https://github.com/Microsoft/DirectX-Graphics-Samples/blob/master/MiniEngine/Core/Shaders/GenerateMipsCS.hlsli + static const uint GROUP_DIM = 8; // 2 ^ (out_mip_count - 1) Texture2D tex : register(t0); |