[Piglit] [PATCH 5/9] arb_tessellation_shader/compiler: test gl_out indexing with a writemask
Marek Olšák
maraeo at gmail.com
Tue Jun 16 13:57:38 PDT 2015
From: Marek Olšák <marek.olsak at amd.com>
---
.../compiler/gl_out-indexing-writemask.tesc | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 tests/spec/arb_tessellation_shader/compiler/gl_out-indexing-writemask.tesc
diff --git a/tests/spec/arb_tessellation_shader/compiler/gl_out-indexing-writemask.tesc b/tests/spec/arb_tessellation_shader/compiler/gl_out-indexing-writemask.tesc
new file mode 100644
index 0000000..5bc9549
--- /dev/null
+++ b/tests/spec/arb_tessellation_shader/compiler/gl_out-indexing-writemask.tesc
@@ -0,0 +1,14 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.50
+// require_extensions: GL_ARB_tessellation_shader
+// [end config]
+
+#version 150
+#extension GL_ARB_tessellation_shader : enable
+
+layout(vertices = 3) out;
+
+void main() {
+ gl_out[gl_InvocationID].gl_Position.xy = gl_in[gl_InvocationID].gl_Position.xy;
+}
--
2.1.0
More information about the Piglit
mailing list