projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
st/xorg: If dri2 version is 2 support version 1 as well
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_bld_tgsi_soa.c
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
b/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
index 64027de6aa9b116fb6c0b84013da22af3518927a..0dea2cd4c86da00d46a7f8bf445d45d2238d38da 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
@@
-321,7
+321,7
@@
emit_tex( struct lp_build_tgsi_soa_context *bld,
{
const uint unit = inst->FullSrcRegisters[1].SrcRegister.Index;
LLVMValueRef lodbias;
{
const uint unit = inst->FullSrcRegisters[1].SrcRegister.Index;
LLVMValueRef lodbias;
- LLVMValueRef oow;
+ LLVMValueRef oow
= NULL
;
LLVMValueRef coords[3];
unsigned num_coords;
unsigned i;
LLVMValueRef coords[3];
unsigned num_coords;
unsigned i;
@@
-446,7
+446,12
@@
emit_instruction(
{
unsigned chan_index;
LLVMValueRef src0, src1, src2;
{
unsigned chan_index;
LLVMValueRef src0, src1, src2;
- LLVMValueRef tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
+ LLVMValueRef tmp0, tmp1, tmp2;
+ LLVMValueRef tmp3 = NULL;
+ LLVMValueRef tmp4 = NULL;
+ LLVMValueRef tmp5 = NULL;
+ LLVMValueRef tmp6 = NULL;
+ LLVMValueRef tmp7 = NULL;
LLVMValueRef res;
LLVMValueRef dst0[NUM_CHANNELS];
LLVMValueRef res;
LLVMValueRef dst0[NUM_CHANNELS];
@@
-560,9
+565,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 )) {
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 );
src0 = emit_fetch( bld, inst, 0, CHAN_X );
src0 = lp_build_abs( &bld->base, src0 );