summaryrefslogtreecommitdiff
path: root/tests/glslparsertest
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2013-01-11 14:39:36 -0800
committerCarl Worth <cworth@cworth.org>2013-01-11 14:39:36 -0800
commit4e2e77a58998fbad95fdb9edb35d8fb69ce0068e (patch)
tree4a19445ea3ede90cee551b08346234889ab3e115 /tests/glslparsertest
parent1ff7d887e70fd2099052b38ee367e8567cc33d5f (diff)
Remove commen-continuation test.
This test was originally designed to verify that a comment line ending with a backslash would not be considered a line-continuation character, (since a shader has been seen in the wild with such a backslash and where interpreting the backslash as a line-continuation would cause compilation failure). However, with OpenGL 4.2 and GLES3, backslash as a line continuation character is now specified to operate globally. So this test is now invalid, and the correct result is that this shader should cause a compilation failure. [Note that Mesa does have support for a quirk that can disable the line continuation on an app-by-app basis with driconf configuation. But that's something that piglit itself can't easily test. Instead, Mesa now includes its own testing for that.]
Diffstat (limited to 'tests/glslparsertest')
-rw-r--r--tests/glslparsertest/glsl2/comment-continuation.frag15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/glslparsertest/glsl2/comment-continuation.frag b/tests/glslparsertest/glsl2/comment-continuation.frag
deleted file mode 100644
index ea39796b8..000000000
--- a/tests/glslparsertest/glsl2/comment-continuation.frag
+++ /dev/null
@@ -1,15 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.10
-//
-// # NOTE: Config section was auto-generated from file
-// # NOTE: 'glslparser.tests' at git revision
-// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
-// [end config]
-
-void main()
-{
-// This is a comment with a trailing backslash that shouldn't matter. \
- vec4 color = vec4(0.0, 1.0, 0.0, 0.0);
- gl_FragColor = color;
-}