Mesa (master): gallivm: Add missing lvalue.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon May 10 20:23:52 UTC 2010
Module: Mesa
Branch: master
Commit: 54b94ee96a6d750d57d99ae9819fcf8206d4680d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=54b94ee96a6d750d57d99ae9819fcf8206d4680d
Author: José Fonseca <jfonseca at vmware.com>
Date: Sun May 9 19:00:50 2010 +0100
gallivm: Add missing lvalue.
---
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 +-
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 9e72469..ca2b78f 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;
}
More information about the mesa-commit
mailing list