[Piglit] [PATCH 4/4] GLSL 1.50: Test that layout qualifier id's are not case sensitive
Nicholas Mack
nichmack at gmail.com
Tue Aug 6 10:01:32 PDT 2013
---
.../glsl-1.50/compiler/layout-not-case-sensitive.frag | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 tests/spec/glsl-1.50/compiler/layout-not-case-sensitive.frag
diff --git a/tests/spec/glsl-1.50/compiler/layout-not-case-sensitive.frag b/tests/spec/glsl-1.50/compiler/layout-not-case-sensitive.frag
new file mode 100644
index 0000000..dcfd520
--- /dev/null
+++ b/tests/spec/glsl-1.50/compiler/layout-not-case-sensitive.frag
@@ -0,0 +1,18 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.50
+// check_link: true
+// [end config]
+//
+// Section 4.3.8(Layout Qualifiers) of the GLSL 1.50 spec says:
+// "Input layout qualifiers are not case sensitive, unless explicitly noted
+// otherwise."
+
+#version 150
+
+layout(PIXEL_center_inTEger) in vec4 gl_FragCoord;
+
+void main()
+{
+ gl_FragColor = vec4(0., 1., 0., 1.);
+}
--
1.8.3.1
More information about the Piglit
mailing list