Files
tooll3--t3/Operators/Lib/Assets/shaders/dx11/resolve-multisampled-depth-buffer-cs.hlsl
2026-07-13 13:13:17 +08:00

8 lines
205 B
HLSL

Texture2DMS<float, 4> txMSDepth : t0;
RWTexture2D<float> outputTexture : register(u0);
[numthreads(16,16,1)]
void main(uint3 i : SV_DispatchThreadID)
{
outputTexture[i.xy] = txMSDepth.Load(i.xy, 0);
}