projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e8b2fd
)
llvmpipe: Initialize variables in emit_instruction.
author
Vinson Lee
<vlee@vmware.com>
Tue, 8 Dec 2009 03:04:07 +0000
(19:04 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 8 Dec 2009 03:04:07 +0000
(19:04 -0800)
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
b/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
index d4d18febec7d23ca6a3f29711914f74095aa5ca9..f588bde9831a69e38a6a7b9d1c1726b4a7005bc6 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
@@
-496,9
+496,9
@@
emit_instruction(
if (IS_DST0_CHANNEL_ENABLED( inst, CHAN_X ) ||
IS_DST0_CHANNEL_ENABLED( inst, CHAN_Y ) ||
IS_DST0_CHANNEL_ENABLED( inst, CHAN_Z )) {
- LLVMValueRef *p_floor_log2;
- LLVMValueRef *p_exp;
- LLVMValueRef *p_log2;
+ LLVMValueRef *p_floor_log2
= NULL
;
+ LLVMValueRef *p_exp
= NULL
;
+ LLVMValueRef *p_log2
= NULL
;
src0 = emit_fetch( bld, inst, 0, CHAN_X );
src0 = lp_build_abs( &bld->base, src0 );