[Mesa-dev] [PATCH] gallium/tests: add missing arg to util_make_vertex_passthrough_shader()

Jakob Bornecrantz wallbraker at gmail.com
Mon Nov 17 09:17:17 PST 2014


Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
On 17 Nov 2014 18:11, "Brian Paul" <brianp at vmware.com> wrote:

> Fix oversights from the "add a window_space option to the passthrough
> vertex shader" patch.
> ---
>  src/gallium/tests/trivial/quad-tex.c |    2 +-
>  src/gallium/tests/trivial/tri.c      |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/tests/trivial/quad-tex.c
> b/src/gallium/tests/trivial/quad-tex.c
> index c09e09a..0d38012 100644
> --- a/src/gallium/tests/trivial/quad-tex.c
> +++ b/src/gallium/tests/trivial/quad-tex.c
> @@ -266,7 +266,7 @@ static void init_prog(struct program *p)
>                 const uint semantic_names[] = { TGSI_SEMANTIC_POSITION,
>                                                 TGSI_SEMANTIC_GENERIC };
>                 const uint semantic_indexes[] = { 0, 0 };
> -               p->vs = util_make_vertex_passthrough_shader(p->pipe, 2,
> semantic_names, semantic_indexes);
> +               p->vs = util_make_vertex_passthrough_shader(p->pipe, 2,
> semantic_names, semantic_indexes, FALSE);
>         }
>
>         /* fragment shader */
> diff --git a/src/gallium/tests/trivial/tri.c
> b/src/gallium/tests/trivial/tri.c
> index dcc5a22..13cc801 100644
> --- a/src/gallium/tests/trivial/tri.c
> +++ b/src/gallium/tests/trivial/tri.c
> @@ -211,7 +211,7 @@ static void init_prog(struct program *p)
>                         const uint semantic_names[] = {
> TGSI_SEMANTIC_POSITION,
>
> TGSI_SEMANTIC_COLOR };
>                         const uint semantic_indexes[] = { 0, 0 };
> -                       p->vs =
> util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names,
> semantic_indexes);
> +                       p->vs =
> util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names,
> semantic_indexes, FALSE);
>         }
>
>         /* fragment shader */
> --
> 1.7.10.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141117/088fe729/attachment.html>


More information about the mesa-dev mailing list