summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-12-10 14:24:05 -0800
committerVinson Lee <vlee@vmware.com>2010-12-10 14:24:05 -0800
commitef3f7e61b314236cbb7ed2cf24d34c6f90d9cfca (patch)
tree45e40682af99798a6a01528f81ea85cfa6c803ba /src/mesa/tnl
parentb3d2ec9942303d1d03e28a25b030eb060415abfb (diff)
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.
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_vb_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c
index 76f8fde3f52..7e7c59ae07b 100644
--- a/src/mesa/tnl/t_vb_program.c
+++ b/src/mesa/tnl/t_vb_program.c
@@ -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;