mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d: Also match the UAV counter register space in d3d12_command_list_update_descriptor_table().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
f0ce8aaf92
commit
57973b4252
@@ -2682,7 +2682,8 @@ static void d3d12_command_list_update_descriptor_table(struct d3d12_command_list
|
||||
{
|
||||
for (k = 0; k < state->uav_counter_count; ++k)
|
||||
{
|
||||
if (state->uav_counters[k].register_index == register_idx)
|
||||
if (state->uav_counters[k].register_space == range->register_space
|
||||
&& state->uav_counters[k].register_index == register_idx)
|
||||
{
|
||||
VkBufferView vk_counter_view = descriptor->magic == VKD3D_DESCRIPTOR_MAGIC_UAV
|
||||
? descriptor->u.view->vk_counter_view : VK_NULL_HANDLE;
|
||||
|
Reference in New Issue
Block a user