mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/ir: Introduce a stub SSA to temp allocation pass.
This commit is contained in:
committed by
Henri Verbeet
parent
34dbd60e01
commit
5e4c61eba6
Notes:
Henri Verbeet
2025-06-23 20:18:01 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1485
@@ -2137,6 +2137,9 @@ int d3dbc_compile(struct vsir_program *program, uint64_t config_flags,
|
||||
struct vkd3d_bytecode_buffer *buffer = &d3dbc.buffer;
|
||||
int result;
|
||||
|
||||
if ((result = vsir_allocate_temp_registers(program, message_context)))
|
||||
return result;
|
||||
|
||||
d3dbc.program = program;
|
||||
d3dbc.message_context = message_context;
|
||||
switch (version->type)
|
||||
|
Reference in New Issue
Block a user