diff options
author | Keith Whitwell <[email protected]> | 2006-10-13 11:20:25 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-10-13 11:20:25 +0000 |
commit | fd6341e57494e80f02aaf69461a7169e9048c39f (patch) | |
tree | c3b1a087265bc2184880838d364c7788b8584136 /src | |
parent | e595ce79d6b917f7106f3b340795bd507e2625e8 (diff) |
Make sure instructions are zero'd out before use.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_tnl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_tnl.c b/src/mesa/drivers/dri/i965/brw_vs_tnl.c index c1099d4c676..1df111f6457 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_tnl.c +++ b/src/mesa/drivers/dri/i965/brw_vs_tnl.c @@ -535,6 +535,7 @@ static void emit_op3fn(struct tnl_program *p, { struct prog_instruction *inst = &p->program->Base.Instructions[nr]; + memset(inst, 0, sizeof(*inst)); inst->Opcode = op; inst->StringPos = 0; inst->Data = 0; |