projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
558c159
)
svga: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 21:10:08 +0000
(13:10 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 14 Feb 2010 21:10:08 +0000
(13:10 -0800)
src/gallium/drivers/svga/svga_tgsi_insn.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_tgsi_insn.c
b/src/gallium/drivers/svga/svga_tgsi_insn.c
index be821e98217168306958e62b8bb14a981312f68f..6debd98b7a1605ccbc3f208837dfaea77082bf76 100644
(file)
--- a/
src/gallium/drivers/svga/svga_tgsi_insn.c
+++ b/
src/gallium/drivers/svga/svga_tgsi_insn.c
@@
-525,6
+525,7
@@
static boolean emit_def_const( struct svga_shader_emitter *emit,
break;
default:
assert(0);
+ opcode = inst_token( SVGA3DOP_NOP );
break;
}