nir/opt_offsets: add load/store_ssbo_ir3
Signed-off-by: Job Noorman <jnoorman@igalia.com> Reviewed-by: Connor Abbott <cwabbott0@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28664>
This commit is contained in:
@@ -210,7 +210,10 @@ process_instr(nir_builder *b, nir_instr *instr, void *s)
|
||||
case nir_intrinsic_load_buffer_amd:
|
||||
return try_fold_load_store(b, intrin, state, 1, state->options->buffer_max);
|
||||
case nir_intrinsic_store_buffer_amd:
|
||||
case nir_intrinsic_load_ssbo_ir3:
|
||||
return try_fold_load_store(b, intrin, state, 2, get_max(state, intrin, state->options->buffer_max));
|
||||
case nir_intrinsic_store_ssbo_ir3:
|
||||
return try_fold_load_store(b, intrin, state, 3, get_max(state, intrin, state->options->buffer_max));
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user