diff options
author | Dave Airlie <[email protected]> | 2020-01-27 07:21:17 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2020-01-27 08:05:27 +1000 |
commit | 58ba7b696ddd8c038188d414584e77aae35efe54 (patch) | |
tree | 9cbaaff3c970254ef188bd75f13bc69e67c845b7 /src/gallium/auxiliary/gallivm | |
parent | 8bd92a15cf28714f1752fbdbafcf78f575e16f13 (diff) |
gallivm/nir: add missing break for isub.
Pointed out by coverity scan.
Fixes: 3adf74f2ef55 ("gallivm: pick integer builders for alu instructions.")
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3571>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3571>
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index 7a0e4175b43..f6e84855bf5 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c @@ -680,7 +680,7 @@ static LLVMValueRef do_alu_action(struct lp_build_nir_context *bld_base, case nir_op_isub: result = lp_build_sub(get_int_bld(bld_base, false, src_bit_size[0]), src[0], src[1]); - + break; case nir_op_ixor: result = lp_build_xor(get_int_bld(bld_base, false, src_bit_size[0]), src[0], src[1]); |