diff options
author | Timothy Arceri <[email protected]> | 2020-07-01 18:56:09 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2020-07-02 12:11:30 +1000 |
commit | d55aa78615f0b80a5e35f28b32201189c86345b7 (patch) | |
tree | da5bb49d32704e160aa7f738e8597b504f4904b1 /src | |
parent | b8409a6af779a53cbb59680ce45b5a0b5c7cd86c (diff) |
nir: add missing break to nir_opt_access()
Fixes: f2d0e48ddc74 ("glsl/nir: Add optimization pass for access flags")
Reviewed-by: Connor Abbott <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5714>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/nir/nir_opt_access.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |