From f8ef6630df99eb3918206405317f9b79939ad5bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Wed, 30 Aug 2017 16:41:15 +0200 Subject: [PATCH] libs/vkd3d: Implement d3d12_device_CopyDescriptorsSimple(). --- libs/vkd3d/device.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libs/vkd3d/device.c b/libs/vkd3d/device.c index f1b58d12..50c2cd94 100644 --- a/libs/vkd3d/device.c +++ b/libs/vkd3d/device.c @@ -1148,10 +1148,13 @@ static void STDMETHODCALLTYPE d3d12_device_CopyDescriptorsSimple(ID3D12Device *i const D3D12_CPU_DESCRIPTOR_HANDLE src_descriptor_range_offset, D3D12_DESCRIPTOR_HEAP_TYPE descriptor_heap_type) { - FIXME("iface %p, descriptor_count %u, dst_descriptor_range_offset %#lx, " - "src_descriptor_range_offset %#lx, descriptor_heap_type %#x stub!\n", + TRACE("iface %p, descriptor_count %u, dst_descriptor_range_offset %#lx, " + "src_descriptor_range_offset %#lx, descriptor_heap_type %#x.\n", iface, descriptor_count, dst_descriptor_range_offset.ptr, src_descriptor_range_offset.ptr, descriptor_heap_type); + + d3d12_device_CopyDescriptors(iface, 1, &dst_descriptor_range_offset, &descriptor_count, + 1, &src_descriptor_range_offset, &descriptor_count, descriptor_heap_type); } static D3D12_RESOURCE_ALLOCATION_INFO * STDMETHODCALLTYPE d3d12_device_GetResourceAllocationInfo(