nir: Add missing nir_var_mem_global to various passes
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3322> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3322>
This commit is contained in:
@@ -138,7 +138,8 @@ gather_intrinsic(struct access_state *state, nir_intrinsic_instr *instr)
|
||||
/* TODO: Could be more granular if we had nir_var_mem_image. */
|
||||
if (nir_intrinsic_memory_modes(instr) & (nir_var_mem_ubo |
|
||||
nir_var_mem_ssbo |
|
||||
nir_var_uniform)) {
|
||||
nir_var_uniform |
|
||||
nir_var_mem_global)) {
|
||||
state->buffer_barriers = true;
|
||||
state->image_barriers = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user