From d55aa78615f0b80a5e35f28b32201189c86345b7 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 1 Jul 2020 18:56:09 +1000 Subject: [PATCH] nir: add missing break to nir_opt_access() Fixes: f2d0e48ddc74 ("glsl/nir: Add optimization pass for access flags") Reviewed-by: Connor Abbott Part-of: --- src/compiler/nir/nir_opt_access.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2