From db382b3caeeb71af95717e8f27197018f8dd1d13 Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Mon, 8 Jun 2026 16:58:24 +0200 Subject: [PATCH] radeonsi: use exec_size from the aco prolog/epilog callback Reviewed-by: Pierre-Eric Pelloux-Prayer Reviewed-by: Samuel Pitoiset Part-of: --- src/gallium/drivers/radeonsi/gfx/si_shader_aco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/gfx/si_shader_aco.c b/src/gallium/drivers/radeonsi/gfx/si_shader_aco.c index 7bf214cfe9c..73d363d2b86 100644 --- a/src/gallium/drivers/radeonsi/gfx/si_shader_aco.c +++ b/src/gallium/drivers/radeonsi/gfx/si_shader_aco.c @@ -222,7 +222,7 @@ si_aco_build_shader_part_binary(void** priv_ptr, uint32_t num_sgprs, uint32_t nu result->binary.type = SI_SHADER_BINARY_RAW; result->binary.code_buffer = buffer; result->binary.code_size = code_size; - result->binary.exec_size = code_size; + result->binary.exec_size = exec_size; if (disasm_size) { memcpy(buffer + code_size, disasm_str, disasm_size);