gallivm: add missing break
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 1 Jul 2020 05:25:40 +0000 (15:25 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 2 Jul 2020 02:11:30 +0000 (12:11 +1000)
Fixes: 26c5ae80f0b5 ("llvmpipe: enable ARB_shader_group_vote")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5714>

src/gallium/auxiliary/gallivm/lp_bld_nir.c

index 2c4135ccc05a2838a00b66a68f39dbec2e6d4281..09b1068663c8f996cc4a9123d30086339ec868ec 100644 (file)
@@ -1496,6 +1496,7 @@ static void visit_intrinsic(struct lp_build_nir_context *bld_base,
    case nir_intrinsic_global_atomic_exchange:
    case nir_intrinsic_global_atomic_comp_swap:
       visit_global_atomic(bld_base, instr, result);
+      break;
    case nir_intrinsic_vote_all:
    case nir_intrinsic_vote_any:
    case nir_intrinsic_vote_ieq: