projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd237a8
)
llvmpipe: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sat, 2 Jan 2010 00:03:53 +0000
(16:03 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 2 Jan 2010 00:03:53 +0000
(16:03 -0800)
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
b/src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
index a1365a045f178db64eb36a66c560a02e1d334d53..699394c0deb817baafd1483fe2075d6c88cd841b 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
+++ b/
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
@@
-1085,7
+1085,7
@@
lp_get_samples_2d_common(struct tgsi_sampler *tgsi_sampler,
const struct pipe_sampler_state *sampler = samp->sampler;
unsigned level0, level1, j, imgFilter;
int width, height;
- float levelBlend;
+ float levelBlend
= 0.0F
;
choose_mipmap_levels(tgsi_sampler, s, t, p,
lodbias,