[Piglit] [PATCH] glsl-1.50 interface blocks: test parsing interpolation qualifiers
Jordan Justen
jordan.l.justen at intel.com
Mon Mar 18 16:27:07 PDT 2013
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
.../compiler/interface-blocks-qualifiers-used.vert | 21 ++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 tests/spec/glsl-1.50/compiler/interface-blocks-qualifiers-used.vert
diff --git a/tests/spec/glsl-1.50/compiler/interface-blocks-qualifiers-used.vert b/tests/spec/glsl-1.50/compiler/interface-blocks-qualifiers-used.vert
new file mode 100644
index 0000000..b106d4a
--- /dev/null
+++ b/tests/spec/glsl-1.50/compiler/interface-blocks-qualifiers-used.vert
@@ -0,0 +1,21 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.50
+// check_link: true
+// [end config]
+//
+// Tests that supported qualifiers can be compiled.
+
+#version 150
+
+out block {
+ smooth float a;
+ flat float b;
+ noperspective float c;
+ centroid out float d;
+} inst;
+
+void main()
+{
+}
+
--
1.7.10.4
More information about the Piglit
mailing list