mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Fix the d3d12_query_heap_create() argument order.
This commit is contained in:
parent
eedac9bdc7
commit
e228d776be
@ -1419,7 +1419,7 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CreateQueryHeap(ID3D12Device *ifac
|
|||||||
TRACE("iface %p, desc %p, iid %s, heap %p.\n",
|
TRACE("iface %p, desc %p, iid %s, heap %p.\n",
|
||||||
iface, desc, debugstr_guid(iid), heap);
|
iface, desc, debugstr_guid(iid), heap);
|
||||||
|
|
||||||
if (FAILED(hr = d3d12_query_heap_create(device, &object, desc)))
|
if (FAILED(hr = d3d12_query_heap_create(device, desc, &object)))
|
||||||
return hr;
|
return hr;
|
||||||
|
|
||||||
return return_interface((IUnknown *)&object->ID3D12QueryHeap_iface,
|
return return_interface((IUnknown *)&object->ID3D12QueryHeap_iface,
|
||||||
|
@ -1726,8 +1726,8 @@ struct d3d12_query_heap *unsafe_impl_from_ID3D12QueryHeap(ID3D12QueryHeap *iface
|
|||||||
return impl_from_ID3D12QueryHeap(iface);
|
return impl_from_ID3D12QueryHeap(iface);
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT d3d12_query_heap_create(struct d3d12_device *device, struct d3d12_query_heap **heap,
|
HRESULT d3d12_query_heap_create(struct d3d12_device *device, const D3D12_QUERY_HEAP_DESC *desc,
|
||||||
const D3D12_QUERY_HEAP_DESC *desc)
|
struct d3d12_query_heap **heap)
|
||||||
{
|
{
|
||||||
const struct vkd3d_vk_device_procs *vk_procs = &device->vk_procs;
|
const struct vkd3d_vk_device_procs *vk_procs = &device->vk_procs;
|
||||||
struct d3d12_query_heap *object;
|
struct d3d12_query_heap *object;
|
||||||
|
@ -265,8 +265,8 @@ struct d3d12_query_heap
|
|||||||
struct d3d12_device *device;
|
struct d3d12_device *device;
|
||||||
};
|
};
|
||||||
|
|
||||||
HRESULT d3d12_query_heap_create(struct d3d12_device *device,
|
HRESULT d3d12_query_heap_create(struct d3d12_device *device, const D3D12_QUERY_HEAP_DESC *desc,
|
||||||
struct d3d12_query_heap **heap, const D3D12_QUERY_HEAP_DESC *desc) DECLSPEC_HIDDEN;
|
struct d3d12_query_heap **heap) DECLSPEC_HIDDEN;
|
||||||
struct d3d12_query_heap *unsafe_impl_from_ID3D12QueryHeap(ID3D12QueryHeap *iface) DECLSPEC_HIDDEN;
|
struct d3d12_query_heap *unsafe_impl_from_ID3D12QueryHeap(ID3D12QueryHeap *iface) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
struct d3d12_root_descriptor_table_range
|
struct d3d12_root_descriptor_table_range
|
||||||
|
Loading…
Reference in New Issue
Block a user