diff options
author | Brian <[email protected]> | 2008-03-14 14:16:00 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-14 14:16:00 -0600 |
commit | 3cebc35669e625499eef2469c317c3387166b673 (patch) | |
tree | 4bc4a7470679e86bb302b4a7ef31a7f169723079 /src | |
parent | e75a204fb9ffa89cf527d7893fe1f1a34427b6dc (diff) |
init tmpNode to zeros
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_emit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index 84c370dc0b9..9c307c6275b 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -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]) */ |