mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 05:50:14 +01:00
tnl: Initialize gl_program_machine memory in run_vp.
Fixes piglit valgrind glsl-array-bounds-04 failure (FDO bug 29946). NOTE: This is a candidate for the 7.10 branch. This is a candidate for the 7.9 branch.
This commit is contained in:
parent
b3d2ec9942
commit
ef3f7e61b3
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ run_vp( struct gl_context *ctx, struct tnl_pipeline_stage *stage )
|
|||
struct vp_stage_data *store = VP_STAGE_DATA(stage);
|
||||
struct vertex_buffer *VB = &tnl->vb;
|
||||
struct gl_vertex_program *program = ctx->VertexProgram._Current;
|
||||
struct gl_program_machine machine;
|
||||
struct gl_program_machine machine = { 0 };
|
||||
GLuint outputs[VERT_RESULT_MAX], numOutputs;
|
||||
GLuint i, j;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue