intel/compiler/task: use shared memory for small task payload loads & stores
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Wed, 7 Sep 2022 10:44:38 +0000 (12:44 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 21 Sep 2022 09:16:20 +0000 (09:16 +0000)
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18501>

src/intel/compiler/brw_mesh.cpp

index ca18423..f4aaa5b 100644 (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);