mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/ir: Split updating DCL_TEMPS instructions to a dedicated pass.
So that it can be used in other contexts as well. And so that register allocation can be run also when there is no need to update or create DCL_TEMPS instructions.
This commit is contained in:
committed by
Henri Verbeet
parent
079e989b8e
commit
decc155cca
Notes:
Henri Verbeet
2025-07-21 12:36:25 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1630
@@ -4501,6 +4501,9 @@ int tpf_compile(struct vsir_program *program, uint64_t config_flags, const struc
|
||||
if ((ret = vsir_allocate_temp_registers(program, message_context)))
|
||||
return ret;
|
||||
|
||||
if ((ret = vsir_update_dcl_temps(program, message_context)))
|
||||
return ret;
|
||||
|
||||
tpf.program = program;
|
||||
tpf.buffer = NULL;
|
||||
tpf.stat = &stat;
|
||||
|
Reference in New Issue
Block a user