[Piglit] [PATCH 09/13] glsl-1.40: Remove redundant assignment to texcoords

Ian Romanick idr at freedesktop.org
Tue Aug 27 18:45:52 PDT 2013


From: Ian Romanick <ian.d.romanick at intel.com>

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
---
 tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRect.shader_test     | 2 +-
 tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRectProj.shader_test | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRect.shader_test b/tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRect.shader_test
index 04b65f2..38bb7f4 100644
--- a/tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRect.shader_test
+++ b/tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRect.shader_test
@@ -9,7 +9,7 @@ out vec2 texcoords;
 void main()
 {
 	gl_Position = piglit_vertex;
-	texcoords = texcoords = (piglit_vertex.xy + 1.0) / 2.0;
+	texcoords = (piglit_vertex.xy + 1.0) / 2.0;
 }
 
 [fragment shader]
diff --git a/tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRectProj.shader_test b/tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRectProj.shader_test
index 4caa913..c73790c 100644
--- a/tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRectProj.shader_test
+++ b/tests/spec/glsl-1.40/execution/glsl-fs-shadow2DRectProj.shader_test
@@ -10,7 +10,7 @@ out vec2 texcoords;
 void main()
 {
 	gl_Position = piglit_vertex;
-	texcoords = texcoords = (piglit_vertex.xy + 1.0) / 2.0;
+	texcoords = (piglit_vertex.xy + 1.0) / 2.0;
 }
 
 [fragment shader]
-- 
1.8.1.4



More information about the Piglit mailing list