[Piglit] [PATCH 2/2] glsl-1.50: add size requirements to 3 shader_test tests

Jordan Justen jordan.l.justen at intel.com
Fri Oct 11 19:38:08 CEST 2013


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 .../spec/glsl-1.50/execution/geometry/point-size-out.shader_test  |    5 +++--
 .../execution/redeclare-pervertex-out-subset-gs.shader_test       |    5 +++--
 .../glsl-1.50/execution/redeclare-pervertex-subset-vs.shader_test |    5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/tests/spec/glsl-1.50/execution/geometry/point-size-out.shader_test b/tests/spec/glsl-1.50/execution/geometry/point-size-out.shader_test
index d5fc03c..fefdc2a 100644
--- a/tests/spec/glsl-1.50/execution/geometry/point-size-out.shader_test
+++ b/tests/spec/glsl-1.50/execution/geometry/point-size-out.shader_test
@@ -7,11 +7,12 @@
 #
 # NOTE: since gl_PointSize is expressed in pixels, but gl_Position is
 # expressed relative to the window size, this test is dependent upon
-# the window size.  It assumes a window size of 250x250, which is the
-# shader_runner default.
+# the window size.  It uses a window size of 250x250, which is
+# specified as the size requirement for the test.
 
 [require]
 GLSL >= 1.50
+SIZE 250 250
 
 [vertex shader]
 #version 150
diff --git a/tests/spec/glsl-1.50/execution/redeclare-pervertex-out-subset-gs.shader_test b/tests/spec/glsl-1.50/execution/redeclare-pervertex-out-subset-gs.shader_test
index 77309cf..ce6afbc 100644
--- a/tests/spec/glsl-1.50/execution/redeclare-pervertex-out-subset-gs.shader_test
+++ b/tests/spec/glsl-1.50/execution/redeclare-pervertex-out-subset-gs.shader_test
@@ -34,11 +34,12 @@
 #
 # NOTE: since gl_PointSize is expressed in pixels, but gl_Position is
 # expressed relative to the window size, this test is dependent upon
-# the window size.  It assumes a window size of 250x250, which is the
-# shader_runner default.
+# the window size.  It uses a window size of 250x250, which is the
+# specified as the size requirement for the test.
 
 [require]
 GLSL >= 1.50
+SIZE 250 250
 
 [vertex shader]
 void main()
diff --git a/tests/spec/glsl-1.50/execution/redeclare-pervertex-subset-vs.shader_test b/tests/spec/glsl-1.50/execution/redeclare-pervertex-subset-vs.shader_test
index 416bb7f..e34f016 100644
--- a/tests/spec/glsl-1.50/execution/redeclare-pervertex-subset-vs.shader_test
+++ b/tests/spec/glsl-1.50/execution/redeclare-pervertex-subset-vs.shader_test
@@ -34,11 +34,12 @@
 #
 # NOTE: since gl_PointSize is expressed in pixels, but gl_Position is
 # expressed relative to the window size, this test is dependent upon
-# the window size.  It assumes a window size of 250x250, which is the
-# shader_runner default.
+# the window size.  It uses a window size of 250x250, which is
+# specified as the size requirement for the test.
 
 [require]
 GLSL >= 1.50
+SIZE 250 250
 
 [vertex shader]
 in vec4 pos;
-- 
1.7.10.4



More information about the Piglit mailing list