From: José Fonseca Date: Sun, 9 May 2010 18:00:50 +0000 (+0100) Subject: gallivm: Add missing lvalue. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54b94ee96a6d750d57d99ae9819fcf8206d4680d;p=mesa.git gallivm: Add missing lvalue. --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 9e7246902c6..ca2b78fb8ce 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; }