projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6509f8
)
lvmpipe: Initialize all coordinates.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 8 Jan 2010 01:15:17 +0000
(
01:15
+0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 8 Jan 2010 01:15:17 +0000
(
01:15
+0000)
Fixes assertion failure with fp-incomplete-tex (fdo 24298).
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
b/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
index 61b033c9fcf0b762af6146f02b7ff4e83ba6ca8d..fb1eda4423ba4db3047ae131839be2135619e5c4 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
@@
-361,6
+361,9
@@
emit_tex( struct lp_build_tgsi_soa_context *bld,
if (projected)
coords[i] = lp_build_mul(&bld->base, coords[i], oow);
}
+ for (i = num_coords; i < 3; i++) {
+ coords[i] = bld->base.undef;
+ }
bld->sampler->emit_fetch_texel(bld->sampler,
bld->base.builder,