From: Dave Airlie <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
---
tests/spec/glsl-1.50/compiler/gl_PrimitiveID.frag | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 tests/spec/glsl-1.50/compiler/gl_PrimitiveID.frag
diff --git a/tests/spec/glsl-1.50/compiler/gl_PrimitiveID.frag
b/tests/spec/glsl-1.50/compiler/gl_PrimitiveID.frag
new file mode 100644
index 0000000..bb7be58
--- /dev/null
+++ b/tests/spec/glsl-1.50/compiler/gl_PrimitiveID.frag
@@ -0,0 +1,10 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.50
+// [end config]
+#version 150
+
+int func()
+{
+ return gl_PrimitiveID;
+}
--
1.8.1
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit