vkd3d-shader/ir: Move icbs from struct vkd3d_shader_instruction_array to struct vsir_program.

This commit is contained in:
Francisco Casas
2025-09-12 15:11:31 -03:00
committed by Henri Verbeet
parent 32e64cafa5
commit 5a563ce05d
Notes: Henri Verbeet 2025-09-17 12:56:43 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1725
4 changed files with 17 additions and 18 deletions

View File

@@ -3246,7 +3246,7 @@ static enum vkd3d_result value_allocate_constant_array(struct sm6_value *dst, co
"Out of memory allocating an immediate constant buffer of count %u.", count);
return VKD3D_ERROR_OUT_OF_MEMORY;
}
if (!shader_instruction_array_add_icb(&sm6->program->instructions, icb))
if (!vsir_program_add_icb(sm6->program, icb))
{
ERR("Failed to store icb object.\n");
vkd3d_free(icb);