mesa: init tmpNode to zeros

This commit is contained in:
Brian Paul 2008-03-14 14:14:13 -06:00
parent 7dc449d406
commit a9aef5fccd
1 changed files with 1 additions and 0 deletions

View File

@ -727,6 +727,7 @@ emit_clamp(slang_emit_info *emitInfo, slang_ir_node *n)
* dest for this clamp() is an output reg, we can't use that reg for
* the intermediate result. Use a temp register instead.
*/
_mesa_bzero(&tmpNode, sizeof(tmpNode));
alloc_temp_storage(emitInfo, &tmpNode, n->Store->Size);
/* tmp = max(ch[0], ch[1]) */