diff options
author | Roland Scheidegger <[email protected]> | 2013-04-19 03:26:20 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-04-20 02:27:53 +0200 |
commit | 107550e71a762bf1999220a81b61107384eca065 (patch) | |
tree | d51466822d2855808624845409cd0ac3ed428984 /src/gallium/auxiliary/gallivm | |
parent | e8d1b26a8275822cbaa6fe241657c766c8df4169 (diff) |
gallivm/tgsi: fix up breakc
It seems there was a typo in gallivm breakc handling (I am actually still
not sure it is really needed but otherwise that statement really should go
away). Also fix the wrong src argument type, even though they weren't really
used.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-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 af1b8aa76ae..af8abb1fcd6 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -221,7 +221,7 @@ static void lp_exec_break_condition(struct lp_exec_mask *mask, LLVMValueRef cond_mask = LLVMBuildAnd(builder, mask->exec_mask, cond, "cond_mask"); - cond_mask = LLVMBuildNot(builder, cond, "break_cond"); + cond_mask = LLVMBuildNot(builder, cond_mask, "break_cond"); mask->break_mask = LLVMBuildAnd(builder, mask->break_mask, |