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
@@ -2147,6 +2147,9 @@ int d3dbc_compile(struct vsir_program *program, uint64_t config_flags,
|
||||
if ((result = vsir_allocate_temp_registers(program, message_context)))
|
||||
return result;
|
||||
|
||||
if ((result = vsir_update_dcl_temps(program, message_context)))
|
||||
return result;
|
||||
|
||||
d3dbc.program = program;
|
||||
d3dbc.message_context = message_context;
|
||||
switch (version->type)
|
||||
|
Reference in New Issue
Block a user