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
@ -1072,7 +1072,7 @@ static void shader_sm4_read_declaration_count(struct vkd3d_shader_instruction *i
|
||||
{
|
||||
ins->declaration.count = *tokens;
|
||||
if (opcode == VKD3D_SM4_OP_DCL_TEMPS)
|
||||
priv->p.shader_desc.temp_count = max(priv->p.shader_desc.temp_count, *tokens);
|
||||
priv->p.program.temp_count = max(priv->p.program.temp_count, *tokens);
|
||||
}
|
||||
|
||||
static void shader_sm4_read_declaration_dst(struct vkd3d_shader_instruction *ins, uint32_t opcode,
|
||||
|
Reference in New Issue
Block a user