From 3cc207c28e0fef76534bc8875e149c0dff182d3d Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 29 Sep 2016 17:55:55 +0200 Subject: [PATCH] libs/vkd3d: Implement d3d12_descriptor_heap_GetCPUDescriptorHandleForHeapStart(). --- libs/vkd3d/resource.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; }