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

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


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

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



More information about the Piglit mailing list