From: Timothy Arceri Date: Wed, 1 Jul 2020 08:56:09 +0000 (+1000) Subject: nir: add missing break to nir_opt_access() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d55aa78615f0b80a5e35f28b32201189c86345b7;p=mesa.git nir: add missing break to nir_opt_access() Fixes: f2d0e48ddc74 ("glsl/nir: Add optimization pass for access flags") Reviewed-by: Connor Abbott Part-of: --- diff --git a/src/compiler/nir/nir_opt_access.c b/src/compiler/nir/nir_opt_access.c index fb432a9430f..99ecdb5400c 100644 --- a/src/compiler/nir/nir_opt_access.c +++ b/src/compiler/nir/nir_opt_access.c @@ -120,6 +120,7 @@ gather_intrinsic(struct access_state *state, nir_intrinsic_instr *instr) _mesa_set_add(state->vars_written, var); state->buffers_written = true; + break; case nir_intrinsic_memory_barrier: state->buffer_barriers = true;