[Piglit] [PATCH 1/4] glsl-1.20: Use [vertex shader passthrough] in notEqual tests

Anuj Phogat anuj.phogat at gmail.com
Thu Mar 26 14:37:42 PDT 2015


On Mon, Mar 23, 2015 at 12:02 PM, Ian Romanick <idr at freedesktop.org> wrote:
> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

Series is:
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the Piglit mailing list