summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-05-09 19:00:50 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-05-10 21:23:38 +0100
commit54b94ee96a6d750d57d99ae9819fcf8206d4680d (patch)
tree6eda9b4ff184bb6cc8b240e2ccbec1785cb0524f /src
parent3b2bdde1b2ee93f77c01f5a94ebb7778192c15f8 (diff)
gallivm: Add missing lvalue.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 9e7246902c..ca2b78fb8c 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@ -349,7 +349,7 @@ static void lp_exec_mask_store(struct lp_exec_mask *mask,
/* Mix the predicate and execution mask */
if (mask->has_mask) {
if (pred) {
- LLVMBuildAnd(mask->bld->builder, pred, mask->exec_mask, "");
+ pred = LLVMBuildAnd(mask->bld->builder, pred, mask->exec_mask, "");
} else {
pred = mask->exec_mask;
}