radv,aco: add a separate function to compile the trap handler shader

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32056>
This commit is contained in:
Samuel Pitoiset
2024-11-08 14:22:05 +01:00
committed by Marge Bot
parent 62e335c779
commit 44dfeb4479
5 changed files with 56 additions and 8 deletions
@@ -12451,7 +12451,7 @@ dump_sgpr_to_mem(isel_context* ctx, Operand rsrc, Operand data, uint32_t offset)
}
void
select_trap_handler_shader(Program* program, struct nir_shader* shader, ac_shader_config* config,
select_trap_handler_shader(Program* program, ac_shader_config* config,
const struct aco_compiler_options* options,
const struct aco_shader_info* info, const struct ac_shader_args* args)
{