mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 06:50:22 +01:00
mesa: Init Geom.UsesEndPrimitive in shader programs.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
e974781301
commit
ec712bf469
1 changed files with 1 additions and 0 deletions
|
|
@ -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->TransformFeedback.BufferMode = GL_INTERLEAVED_ATTRIBS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue