radeonsi: use exec_size from the aco prolog/epilog callback
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42028>
This commit is contained in:
Georg Lehmann 2026-06-08 16:58:24 +02:00 committed by Marge Bot
parent 3bb9ad4d47
commit db382b3cae

View file

@ -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);