xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/hlsl.samplecmp.negative2.frag (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1
2Texture2D g_shadowTex;
3SamplerState g_shadowSampler;
4
5float4 main() : SV_Target0
6{
7    g_shadowTex.GatherCmpRed(g_shadowSampler, float2(0,0), 0, int2(0,0));  // ERROR (should be comparison sampler)
8
9    return 0;
10}
11