[Piglit] [PATCH 18/23] arb_shading_language_420pack: Test that there is no nesting flattening
Matt Turner
mattst88 at gmail.com
Sat Jun 29 19:43:11 PDT 2013
---
...legal-aggregate-initializer-no-nesting-flattening.frag | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 tests/spec/arb_shading_language_420pack/compiler/illegal-aggregate-initializer-no-nesting-flattening.frag
diff --git a/tests/spec/arb_shading_language_420pack/compiler/illegal-aggregate-initializer-no-nesting-flattening.frag b/tests/spec/arb_shading_language_420pack/compiler/illegal-aggregate-initializer-no-nesting-flattening.frag
new file mode 100644
index 0000000..87c9d1a
--- /dev/null
+++ b/tests/spec/arb_shading_language_420pack/compiler/illegal-aggregate-initializer-no-nesting-flattening.frag
@@ -0,0 +1,15 @@
+/* [config]
+ * expect_result: fail
+ * glsl_version: 1.30
+ * require_extensions: GL_ARB_shading_language_420pack
+ * [end config]
+ */
+
+#version 130
+#extension GL_ARB_shading_language_420pack: enable
+
+void main() {
+ // Illegal since there is no nesting flattening
+ mat2x2 d = { 1.0, 0.0, 0.0, 1.0 };
+ gl_FragColor = vec4(1.0);
+}
--
1.8.1.5
More information about the Piglit
mailing list