Преглед изворни кода

mesa: init tmpNode to zeros

tags/mesa_20090313
Brian Paul пре 17 година
родитељ
комит
a9aef5fccd
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1
    0
      src/mesa/shader/slang/slang_emit.c

+ 1
- 0
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]) */

Loading…
Откажи
Сачувај