Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>
ctx->stage.hw == HWStage::CS || ctx->stage.hw == HWStage::HS || ctx->stage.hw == HWStage::NGG;
unsigned nir_storage = nir_intrinsic_memory_modes(instr);
- if (nir_storage & (nir_var_mem_ssbo | nir_var_mem_global))
+ if (nir_storage & (nir_var_mem_ssbo | nir_var_mem_global | nir_var_mem_image))
storage |= storage_buffer | storage_image; // TODO: split this when NIR gets nir_var_mem_image
if (shared_storage_used && (nir_storage & nir_var_mem_shared))
storage |= storage_shared;