2 Aug
2021
2 Aug
'21
1:57 p.m.
On Fri, 30 Jul 2021 at 06:05, Conor McCarthy <cmccarthy(a)codeweavers.com> wrote:
@@ -2620,7 +2620,8 @@ static bool vk_write_descriptor_set_from_d3d12_desc(VkWriteDescriptorSet *vk_des case VKD3D_DESCRIPTOR_MAGIC_UAV: /* We use separate bindings for buffer and texture SRVs/UAVs. * See d3d12_root_signature_init(). */ - vk_descriptor_write->dstBinding = vk_binding + 2 * index; + if(!use_array) + vk_descriptor_write->dstBinding = vk_binding + 2 * index;
Missing space between "if" and "(!use_array)".