[Mesa-dev] [PATCH v2 22/23] mesa: Init Geom.UsesEndPrimitive in shader programs.

Iago Toral Quiroga itoral at igalia.com
Wed Jun 18 02:51:49 PDT 2014


---
 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;
-- 
1.9.1



More information about the mesa-dev mailing list