[Piglit] [PATCH] shaders: add a glslparsertest for bug 98699

Tapani Pälli tapani.palli at intel.com
Fri Aug 10 06:12:44 UTC 2018


Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98699
---
 tests/shaders/glsl-compiler-bug98699.vert | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 tests/shaders/glsl-compiler-bug98699.vert

diff --git a/tests/shaders/glsl-compiler-bug98699.vert b/tests/shaders/glsl-compiler-bug98699.vert
new file mode 100644
index 000000000..9bd219cf0
--- /dev/null
+++ b/tests/shaders/glsl-compiler-bug98699.vert
@@ -0,0 +1,9 @@
+// [config]
+// expect_result: fail
+// glsl_version: 1.10
+// [end config]
+
+void main()
+{
+        float[a+++4 ? 1:1] f;
+}
-- 
2.14.4



More information about the Piglit mailing list