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:
Vinson Lee 2010-12-10 14:24:05 -08:00
parent b3d2ec9942
commit ef3f7e61b3
1 changed files with 1 additions and 1 deletions

View File

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