summaryrefslogtreecommitdiffstats
path: root/tests/reflection/sample-rate-input.glsl
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-12 11:30:43 -0700
committerGitHub <noreply@github.com>2017-07-12 11:30:43 -0700
commit6101e483ae8ea9e10db2b5a9423af3cc7fafb710 (patch)
treea3d8f4f8873946f58111ae5e7f5034b071c1e824 /tests/reflection/sample-rate-input.glsl
parent88f451cfafbf3a30033e750873c79f761b2bd1a5 (diff)
parent74963469a169b49d61196e3a3b33a903ea8bfede (diff)
Merge pull request #79 from tfoleyNV/sample-rate-reflection
Sample rate reflection
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);
+}