[Mesa-dev] [PATCH v2 22/23] mesa: Init Geom.UsesEndPrimitive in shader programs.
Ian Romanick
idr at freedesktop.org
Wed Jun 18 13:48:26 PDT 2014
I think this patch and 23 should be moved first in the series... the can
certainly land before the other patches in the series.
This patch is
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 06/18/2014 02:51 AM, Iago Toral Quiroga wrote:
> ---
> src/mesa/main/shaderobj.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c
> index 03db862..b3d428c 100644
> --- a/src/mesa/main/shaderobj.c
> +++ b/src/mesa/main/shaderobj.c
> @@ -248,6 +248,7 @@ _mesa_init_shader_program(struct gl_context *ctx, struct gl_shader_program *prog
> prog->Geom.VerticesOut = 0;
> prog->Geom.InputType = GL_TRIANGLES;
> prog->Geom.OutputType = GL_TRIANGLE_STRIP;
> + prog->Geom.UsesEndPrimitive = GL_FALSE;
> prog->Geom.UsesStreams = GL_FALSE;
>
> prog->TransformFeedback.BufferMode = GL_INTERLEAVED_ATTRIBS;
>
More information about the mesa-dev
mailing list