mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Fix updating descriptor sets for descriptor tables with gaps.
Fixes 9afaed918da32e848c19e81beceda41ef67f459a.
This commit is contained in:
parent
32966338df
commit
1cde37d341
@ -1876,7 +1876,7 @@ static void d3d12_command_list_update_descriptor_table(struct d3d12_command_list
|
||||
descriptor += range->offset;
|
||||
}
|
||||
|
||||
for (j = 0; j < range->descriptor_count; ++j)
|
||||
for (j = 0; j < range->descriptor_count; ++j, ++descriptor)
|
||||
{
|
||||
unsigned int register_idx = range->base_register_idx + j;
|
||||
|
||||
@ -1895,7 +1895,6 @@ static void d3d12_command_list_update_descriptor_table(struct d3d12_command_list
|
||||
current_image_info, descriptor, bindings->descriptor_set, range->binding, j))
|
||||
continue;
|
||||
|
||||
++descriptor;
|
||||
++descriptor_count;
|
||||
++current_descriptor_write;
|
||||
++current_image_info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user