[Piglit] [PATCH 2/2] glsl-1.50: add size requirements to 3 shader_test tests
Paul Berry
stereotype441 at gmail.com
Fri Oct 18 20:55:28 CEST 2013
On 11 October 2013 10:38, Jordan Justen <jordan.l.justen at intel.com> wrote:
> 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(-)
>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131018/45eeb3b5/attachment.html>
More information about the Piglit
mailing list