mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/ir: Store the temporary register count in struct vsir_program.
This commit is contained in:
committed by
Alexandre Julliard
parent
94ca46916a
commit
adc02eada8
Notes:
Alexandre Julliard
2024-01-22 22:53:09 +01:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/585
@ -9687,8 +9687,8 @@ static int spirv_compiler_generate_spirv(struct spirv_compiler *compiler,
|
||||
if ((result = vkd3d_shader_normalise(parser, compile_info)) < 0)
|
||||
return result;
|
||||
|
||||
if (parser->shader_desc.temp_count)
|
||||
spirv_compiler_emit_temps(compiler, parser->shader_desc.temp_count);
|
||||
if (program->temp_count)
|
||||
spirv_compiler_emit_temps(compiler, program->temp_count);
|
||||
if (program->ssa_count)
|
||||
spirv_compiler_allocate_ssa_register_ids(compiler, program->ssa_count);
|
||||
|
||||
|
Reference in New Issue
Block a user