projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a531fb
)
silence compiler warning
author
Alan Hourihane
<alanh@vmware.com>
Mon, 4 Jan 2010 12:42:51 +0000
(12:42 +0000)
committer
Alan Hourihane
<alanh@vmware.com>
Mon, 4 Jan 2010 12:42:51 +0000
(12:42 +0000)
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 0d01c07fb5e3f38d6a87b2cea03d47c45ce9a3cc..68520fa4f096b65ae08bb1bbc2c3e322437dca6f 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,
@@
-1241,7
+1241,7
@@
lp_get_samples_3d(struct tgsi_sampler *tgsi_sampler,
/* get/map pipe_surfaces corresponding to 3D tex slices */
unsigned level0, level1, j, imgFilter;
int width, height, depth;
- float levelBlend;
+ float levelBlend
= 0.0f
;
const uint face = 0;
choose_mipmap_levels(tgsi_sampler, s, t, p,