[Mesa-dev] [PATCH v2 23/23] mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program.

Ian Romanick idr at freedesktop.org
Wed Jun 18 13:49:11 PDT 2014


This patch is

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>

Clearly this field should have been copied as long as it has existed.
Right?

On 06/18/2014 02:51 AM, Iago Toral Quiroga wrote:
> ---
>  src/mesa/program/program.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
> index 1263cea..aedce3e 100644
> --- a/src/mesa/program/program.c
> +++ b/src/mesa/program/program.c
> @@ -552,6 +552,7 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog)
>           gpc->InputType = gp->InputType;
>           gpc->Invocations = gp->Invocations;
>           gpc->OutputType = gp->OutputType;
> +         gpc->UsesEndPrimitive = gp->UsesEndPrimitive;
>           gpc->UsesStreams = gp->UsesStreams;
>        }
>        break;



More information about the mesa-dev mailing list