hlsl.samplecmp.negative2.frag 216 B

1234567891011
  1. Texture2D g_shadowTex;
  2. SamplerState g_shadowSampler;
  3. float4 main() : SV_Target0
  4. {
  5. g_shadowTex.GatherCmpRed(g_shadowSampler, float2(0,0), 0, int2(0,0)); // ERROR (should be comparison sampler)
  6. return 0;
  7. }