diff options
author | Laszlo Agocs <[email protected]> | 2016-01-24 18:37:59 +0100 |
---|---|---|
committer | Laszlo Agocs <[email protected]> | 2016-01-24 17:39:57 +0000 |
commit | 7602d6b615cfaceec6a4a6a0b63f657ed4cf7d83 (patch) | |
tree | 2c9192a4c9ff43f6afa3c6b6df61161074fca65e | |
parent | 9a95c33279cba9be6e34983c9a2bb1e6f300c2a3 (diff) |
Change-Id: I13942f90a7dd2b28c67cf77f2abe1bbc5fb499bf
Reviewed-by: Laszlo Agocs <[email protected]>
-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); |