intel/compiler/task: use shared memory for small task payload loads & stores

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18501>
This commit is contained in:
Marcin Ślusarz 2022-09-07 12:44:38 +02:00 committed by Marge Bot
parent 1f0c39f23c
commit a31b8fa38b

View file

@ -246,6 +246,7 @@ brw_compile_task(const struct brw_compiler *compiler,
nir_lower_task_shader_options lower_ts_opt = {
.payload_to_shared_for_atomics = true,
.payload_to_shared_for_small_types = true,
};
NIR_PASS(_, nir, nir_lower_task_shader, lower_ts_opt);