[Piglit] [PATCH 3/3] glsl-1.20: Test that row_major is not a reserved word.

Matt Turner mattst88 at gmail.com
Thu Jul 11 10:14:09 PDT 2013


---
 tests/spec/glsl-1.20/compiler/row_major.frag | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 tests/spec/glsl-1.20/compiler/row_major.frag

diff --git a/tests/spec/glsl-1.20/compiler/row_major.frag b/tests/spec/glsl-1.20/compiler/row_major.frag
new file mode 100644
index 0000000..16ee281
--- /dev/null
+++ b/tests/spec/glsl-1.20/compiler/row_major.frag
@@ -0,0 +1,14 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.20
+// [end config]
+//
+// Check that 'row_major' is not a reserved keyword.
+
+#version 120
+
+int f()
+{
+	int row_major;
+	return 0;
+}
-- 
1.8.1.5



More information about the Piglit mailing list