mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Access the current range via the declared pointer in d3d12_root_signature_init_root_descriptor_tables().
This commit is contained in:
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
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user