[Piglit] [PATCH] glsl-4.50: add test that makes sure extra semicolons are forbidden
Samuel Pitoiset
samuel.pitoiset at gmail.com
Fri Aug 11 06:58:35 UTC 2017
Only allowed with GLSL 4.60.
Cc: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
.../glsl-4.50/compiler/extra-semilons-at-global-scope.frag | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 tests/spec/glsl-4.50/compiler/extra-semilons-at-global-scope.frag
diff --git a/tests/spec/glsl-4.50/compiler/extra-semilons-at-global-scope.frag b/tests/spec/glsl-4.50/compiler/extra-semilons-at-global-scope.frag
new file mode 100644
index 000000000..29b0e1cb5
--- /dev/null
+++ b/tests/spec/glsl-4.50/compiler/extra-semilons-at-global-scope.frag
@@ -0,0 +1,12 @@
+// [config]
+// expect_result: fail
+// glsl_version: 4.50
+// [end config]
+
+#version 450
+
+uniform int i;;
+
+void main()
+{
+}
--
2.14.0
More information about the Piglit
mailing list