[Piglit] [PATCH 4/7] arb_gpu_shader5: invocations layout qualifier is not allowed on GS output
Jordan Justen
jordan.l.justen at intel.com
Thu Jan 23 23:55:09 PST 2014
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
.../incorrect-out-layout-qualifier-invocations.geom | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 tests/spec/arb_gpu_shader5/compiler/incorrect-out-layout-qualifier-invocations.geom
diff --git a/tests/spec/arb_gpu_shader5/compiler/incorrect-out-layout-qualifier-invocations.geom b/tests/spec/arb_gpu_shader5/compiler/incorrect-out-layout-qualifier-invocations.geom
new file mode 100644
index 0000000..016387e
--- /dev/null
+++ b/tests/spec/arb_gpu_shader5/compiler/incorrect-out-layout-qualifier-invocations.geom
@@ -0,0 +1,18 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.50
+// check_link: false
+// [end config]
+//
+// Tests for invalid output layout qualifiers.
+//
+
+#version 150
+#extension GL_ARB_gpu_shader5 : enable
+
+layout(points) in;
+layout(triangle_strip, max_vertices=3, invocations=1) out;
+
+void main()
+{
+}
--
1.8.5.3
More information about the Piglit
mailing list