bloat-buster/dependencies/glslang-15.0.0/Test/hlsl.samplecmp.negative2.frag
David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06:00

11 lines
216 B
GLSL

Texture2D g_shadowTex;
SamplerState g_shadowSampler;
float4 main() : SV_Target0
{
g_shadowTex.GatherCmpRed(g_shadowSampler, float2(0,0), 0, int2(0,0)); // ERROR (should be comparison sampler)
return 0;
}