First Commit
This commit is contained in:
10
externals/glslang/Test/hlsl.samplecmp.negative2.frag
vendored
Normal file
10
externals/glslang/Test/hlsl.samplecmp.negative2.frag
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user