diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c index 37f04f3b..239bb006 100644 --- a/libs/vkd3d/resource.c +++ b/libs/vkd3d/resource.c @@ -783,7 +783,11 @@ static D3D12_DESCRIPTOR_HEAP_DESC * STDMETHODCALLTYPE d3d12_descriptor_heap_GetD static D3D12_CPU_DESCRIPTOR_HANDLE * STDMETHODCALLTYPE d3d12_descriptor_heap_GetCPUDescriptorHandleForHeapStart( ID3D12DescriptorHeap *iface, D3D12_CPU_DESCRIPTOR_HANDLE *descriptor) { - FIXME("iface %p, descriptor %p stub!\n", iface, descriptor); + struct d3d12_descriptor_heap *heap = impl_from_ID3D12DescriptorHeap(iface); + + TRACE("iface %p, descriptor %p.\n", iface, descriptor); + + descriptor->ptr = (SIZE_T)heap->descriptors; return descriptor; }