Commit 5cc56a5d authored by Timothy Arceri's avatar Timothy Arceri Committed by Eric Engestrom

nir: add missing break to nir_opt_access()

Fixes: f2d0e48d ("glsl/nir: Add optimization pass for access flags")
Reviewed-by: Connor Abbott's avatarConnor Abbott <cwabbott0@gmail.com>
Part-of: <!5714>
(cherry picked from commit d55aa786)
parent f51d4183
......@@ -256,7 +256,7 @@
"description": "nir: add missing break to nir_opt_access()",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "f2d0e48ddc74d01be1d3e259c5687ff37e4c8d69"
},
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment