summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-05-13 13:21:37 -0600
committerBrian Paul <brianp@vmware.com>2010-05-13 14:15:44 -0600
commit77ee438e612f2c8325bceefd4294ebcac535f16a (patch)
treec4744b1fe35b864b2bebc258a97e90af6219d96c
parent966d28cb2e5e090d8f591810f331df0d05b06271 (diff)
llvmpipe: silence uninitialized var warnings
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
index f9dea306ab..bc7213db8b 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
@@ -918,7 +918,8 @@ lp_build_lod_selector(struct lp_build_sample_context *bld,
}
else {
const int dims = texture_dims(bld->static_state->target);
- LLVMValueRef dsdx, dsdy, dtdx, dtdy, drdx, drdy;
+ LLVMValueRef dsdx, dsdy;
+ LLVMValueRef dtdx = NULL, dtdy = NULL, drdx = NULL, drdy = NULL;
LLVMValueRef rho;
/*