vkd3d: Access the current range via the declared pointer in d3d12_root_signature_init_root_descriptor_tables().

This commit is contained in:
Conor McCarthy 2024-09-12 11:07:17 +10:00 committed by Henri Verbeet
parent b092fcfc46
commit 3f98ca53ca
Notes: Henri Verbeet 2024-10-17 17:39:00 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Conor McCarthy (@cmccarthy)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1070

View File

@ -1266,8 +1266,8 @@ static HRESULT d3d12_root_signature_init_root_descriptor_tables(struct d3d12_roo
++cur_binding;
}
table->ranges[j].vk_binding_count = table->ranges[j].descriptor_count;
table->ranges[j].binding = vk_binding;
range->vk_binding_count = range->descriptor_count;
range->binding = vk_binding;
context->current_binding = cur_binding;
}