Signed-off-by: Tapani Pälli <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107550
---
.../spec/glsl-1.10/compiler/invalid-array-as-function-param.vert | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644
tests/spec/glsl-1.10/compiler/invalid-array-as-function-param.vert
diff --git a/tests/spec/glsl-1.10/compiler/invalid-array-as-function-param.vert
b/tests/spec/glsl-1.10/compiler/invalid-array-as-function-param.vert
new file mode 100644
index 000000000..d285680de
--- /dev/null
+++ b/tests/spec/glsl-1.10/compiler/invalid-array-as-function-param.vert
@@ -0,0 +1,9 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.10
+// [end config]
+
+void main()
+{
+ func(0[2]);
+}
--
2.14.4
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit