summaryrefslogtreecommitdiffstats
path: root/tests/reflection/sample-rate-input.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reflection/sample-rate-input.glsl')
-rw-r--r--tests/reflection/sample-rate-input.glsl15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/reflection/sample-rate-input.glsl b/tests/reflection/sample-rate-input.glsl
new file mode 100644
index 000000000..66763f45d
--- /dev/null
+++ b/tests/reflection/sample-rate-input.glsl
@@ -0,0 +1,15 @@
+//TEST(smoke):SIMPLE:-profile ps_4_0 -no-checking -target reflection-json
+
+// Check that we report sample-rate entry point input correctly
+
+uniform texture2D t;
+uniform sampler s;
+
+sample in vec2 uv;
+
+out vec4 c;
+
+void main()
+{
+ c = texture(sampler2D(t,s), uv);
+}