radeonsi: lower task/mesh shader io to mem
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37505>
This commit is contained in:
@@ -335,6 +335,14 @@ static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir)
|
||||
}
|
||||
|
||||
NIR_PASS(_, nir, nir_lower_gs_intrinsics, flags);
|
||||
} else if (nir->info.stage == MESA_SHADER_TASK) {
|
||||
NIR_PASS(_, nir, ac_nir_lower_task_outputs_to_mem,
|
||||
sscreen->task_info.payload_entry_size,
|
||||
sscreen->task_info.num_entries, false);
|
||||
} else if (nir->info.stage == MESA_SHADER_MESH) {
|
||||
NIR_PASS(_, nir, ac_nir_lower_mesh_inputs_to_mem,
|
||||
sscreen->task_info.payload_entry_size,
|
||||
sscreen->task_info.num_entries);
|
||||
}
|
||||
|
||||
if (mesa_shader_stage_is_compute(nir->info.stage)) {
|
||||
|
||||
Reference in New Issue
Block a user