mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-17 04:28:28 +02:00
radeonsi: use exec_size from the aco prolog/epilog callback
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:
parent
3bb9ad4d47
commit
db382b3cae
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue