[Piglit] [PATCH] glsl-4.60: backdate semicolon test to run from glsl 1.10

Dave Airlie airlied at gmail.com
Thu Jun 14 00:24:07 UTC 2018


From: Dave Airlie <airlied at redhat.com>

Since this was a bug fix and real world apps have the old behaviour
---
 .../glsl-4.60/compiler/extra-semilons-at-global-scope.frag   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag b/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag
index 9da6ade08..b4cb9adb4 100644
--- a/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag
+++ b/tests/spec/glsl-4.60/compiler/extra-semilons-at-global-scope.frag
@@ -1,9 +1,10 @@
 // [config]
 // expect_result: pass
-// glsl_version: 4.60
+// glsl_version: 1.10
 // [end config]
+// Although the fix is in GLSL 4.60 we should allows this across all GLSL versions.
 
-#version 460
+#version 110
 
 // From the GLSL 4.60 spec, section 1.2.1 (Summary of Changes from Revision 7
 // of GLSL Version 4.50):
-- 
2.17.0



More information about the Piglit mailing list