vkd3d: Fix descriptor QA checks for CBV_AS_SSBO.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
parent
ec5b4ccecf
commit
c7c17d05ed
|
@ -3440,7 +3440,10 @@ void d3d12_desc_create_cbv(struct d3d12_desc *descriptor,
|
|||
vkd3d_descriptor_debug_write_descriptor(descriptor->heap->descriptor_heap_info.host_ptr,
|
||||
descriptor->heap->cookie,
|
||||
descriptor->heap_offset,
|
||||
VKD3D_DESCRIPTOR_QA_TYPE_UNIFORM_BUFFER_BIT, descriptor->metadata.cookie);
|
||||
vk_descriptor_type == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER ?
|
||||
VKD3D_DESCRIPTOR_QA_TYPE_UNIFORM_BUFFER_BIT :
|
||||
VKD3D_DESCRIPTOR_QA_TYPE_STORAGE_BUFFER_BIT,
|
||||
descriptor->metadata.cookie);
|
||||
|
||||
VK_CALL(vkUpdateDescriptorSets(device->vk_device, 1, &vk_write, 0, NULL));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue