summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cross-compile/glsl-samplecmp.slang6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cross-compile/glsl-samplecmp.slang b/tests/cross-compile/glsl-samplecmp.slang
new file mode 100644
index 000000000..fbbc8b7c7
--- /dev/null
+++ b/tests/cross-compile/glsl-samplecmp.slang
@@ -0,0 +1,6 @@
+Texture2D shadowMap;
+SamplerComparisonState sampler;
+float4 main(float4 p : SV_POSITION)
+{
+ return shadowMap.SampleCmp(sampler, float2(0.0), 0.0);
+} \ No newline at end of file