radv: fix dumping VS prologs assembly
This got removed by mistake and broke
RADV_DEBUG=shaders,nocache,prologs.
Fixes: 9fe2b6b748
("aco/radv: provide a vs prolog callback from aco to radv.")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17413>
This commit is contained in:
parent
768cd5715d
commit
6517a2b926
|
@ -2372,9 +2372,11 @@ static void radv_aco_build_prolog(void **bin,
|
|||
prolog_binary->num_preserved_sgprs = num_preserved_sgprs;
|
||||
prolog_binary->code_size = code_size * sizeof(uint32_t);
|
||||
memcpy(prolog_binary->data, code, prolog_binary->code_size);
|
||||
if (disasm_size)
|
||||
if (disasm_size) {
|
||||
memcpy((char*)prolog_binary->data + prolog_binary->code_size,
|
||||
disasm_str, disasm_size);
|
||||
prolog_binary->disasm_size = disasm_size;
|
||||
}
|
||||
|
||||
*binary = prolog_binary;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue