[Piglit] [PATCH] glsl-1.10: Verify that "impossible" GLSL versions are properly rejected
idr at freedesktop.org
Fri Nov 30 10:14:52 PST 2012
From: Ian Romanick <ian.d.romanick at intel.com>
Currently on Mesa's gles3 branch this leads to an assertion failure.
It works correctly on Mesa master and known Mesa releases.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
I'm not sure this is the right place for this test script to live. It
didn't seem to fit in any of the existing subdirectories, and I was
feeling too lazy to make a name for a new one. Suggestions?
tests/spec/glsl-1.10/compiler/invalid-version.vert | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 tests/spec/glsl-1.10/compiler/invalid-version.vert
diff --git a/tests/spec/glsl-1.10/compiler/invalid-version.vert b/tests/spec/glsl-1.10/compiler/invalid-version.vert
new file mode 100644
@@ -0,0 +1,10 @@
+ * expect_result: fail
+ * [end config]
+ gl_Position = vec4(0.);
More information about the Piglit