diff options
Diffstat (limited to 'src')
-rw-r--r-- | 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 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; } |