projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
966d28c
)
llvmpipe: silence uninitialized var warnings
author
Brian Paul
<brianp@vmware.com>
Thu, 13 May 2010 19:21:37 +0000
(13:21 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 13 May 2010 20:15:44 +0000
(14:15 -0600)
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
index f9dea306ab2e45dfb7ce08e4a5bfbf0dc0a573aa..bc7213db8b35163b614c9fb55b4dba48b80bc239 100644
(file)
--- 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;
/*