projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
988b246
)
gallivm: fix incorrect type for zero vector in emit_kilp()
author
Brian Paul
<brianp@vmware.com>
Tue, 19 Oct 2010 15:14:17 +0000
(09:14 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 19 Oct 2010 15:14:19 +0000
(09:14 -0600)
http://bugs.freedesktop.org/show_bug.cgi?id=30974
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 2bc90579a2acb71ed6f3072f79a637f8777b3aaf..3c318cc8c806f44dc1cbbf247ef9f622f244b7d3 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@
-1030,7
+1030,8
@@
emit_kilp(struct lp_build_tgsi_soa_context *bld,
mask = LLVMBuildNot(bld->base.builder, bld->exec_mask.exec_mask, "kilp");
}
else {
- mask = bld->base.zero;
+ LLVMValueRef zero = LLVMConstNull(bld->base.int_vec_type);
+ mask = zero;
}
lp_build_mask_update(bld->mask, mask);