[Piglit] [PATCH 1/4] glsl-1.20: Use [vertex shader passthrough] in notEqual tests
Ian Romanick
idr at freedesktop.org
Mon Mar 23 12:02:04 PDT 2015
From: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
tests/shaders/glsl-const-builtin-notEqual-bool.shader_test | 6 +-----
tests/shaders/glsl-const-builtin-notEqual.shader_test | 6 +-----
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/tests/shaders/glsl-const-builtin-notEqual-bool.shader_test b/tests/shaders/glsl-const-builtin-notEqual-bool.shader_test
index 075834b..8397892 100644
--- a/tests/shaders/glsl-const-builtin-notEqual-bool.shader_test
+++ b/tests/shaders/glsl-const-builtin-notEqual-bool.shader_test
@@ -1,11 +1,7 @@
[require]
GLSL >= 1.20
-[vertex shader]
-void main()
-{
- gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
-}
+[vertex shader passthrough]
[fragment shader]
void main() {
diff --git a/tests/shaders/glsl-const-builtin-notEqual.shader_test b/tests/shaders/glsl-const-builtin-notEqual.shader_test
index 7092169..9dee00a 100644
--- a/tests/shaders/glsl-const-builtin-notEqual.shader_test
+++ b/tests/shaders/glsl-const-builtin-notEqual.shader_test
@@ -1,11 +1,7 @@
[require]
GLSL >= 1.20
-[vertex shader]
-void main()
-{
- gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
-}
+[vertex shader passthrough]
[fragment shader]
void main() {
--
2.1.0
More information about the Piglit
mailing list