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

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


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

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



More information about the Piglit mailing list