From d61b6a35457272c954ee104e88d1b47b4943b8c7 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 15 Jun 2017 16:43:22 +0200 Subject: [PATCH] include: Add the missing "values" parameter to ID3D12GraphicsCommandList::ClearUnorderedAccessViewFloat(). --- include/d3d12.idl | 3 +-- libs/vkd3d/command.c | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/include/d3d12.idl b/include/d3d12.idl index 8f19f6a4..19e28c0e 100644 --- a/include/d3d12.idl +++ b/include/d3d12.idl @@ -1538,8 +1538,7 @@ interface ID3D12GraphicsCommandList : ID3D12CommandList D3D12_CPU_DESCRIPTOR_HANDLE cpu_handle, ID3D12Resource *resource, const UINT values[4], UINT rect_count, const D3D12_RECT *rects); void ClearUnorderedAccessViewFloat(D3D12_GPU_DESCRIPTOR_HANDLE gpu_handle, - D3D12_CPU_DESCRIPTOR_HANDLE cpu_handle, - ID3D12Resource *resource, + D3D12_CPU_DESCRIPTOR_HANDLE cpu_handle, ID3D12Resource *resource, const float values[4], UINT rect_count, const D3D12_RECT *rects); void DiscardResource(ID3D12Resource *resource, const D3D12_DISCARD_REGION *region); diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 475faa26..3f065d9b 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -2592,11 +2592,11 @@ static void STDMETHODCALLTYPE d3d12_command_list_ClearUnorderedAccessViewUint(ID } static void STDMETHODCALLTYPE d3d12_command_list_ClearUnorderedAccessViewFloat(ID3D12GraphicsCommandList *iface, - D3D12_GPU_DESCRIPTOR_HANDLE gpu_handle, D3D12_CPU_DESCRIPTOR_HANDLE cpu_handle, - ID3D12Resource *resource, UINT rect_count, const D3D12_RECT *rects) + D3D12_GPU_DESCRIPTOR_HANDLE gpu_handle, D3D12_CPU_DESCRIPTOR_HANDLE cpu_handle, ID3D12Resource *resource, + const float values[4], UINT rect_count, const D3D12_RECT *rects) { - FIXME("iface %p, gpu_handle %#"PRIx64", cpu_handle %lx, resource %p, rect_count %u, rects %p stub!\n", - iface, gpu_handle.ptr, cpu_handle.ptr, resource, rect_count, rects); + FIXME("iface %p, gpu_handle %#"PRIx64", cpu_handle %lx, resource %p, values %p, rect_count %u, rects %p stub!\n", + iface, gpu_handle.ptr, cpu_handle.ptr, resource, values, rect_count, rects); } static void STDMETHODCALLTYPE d3d12_command_list_DiscardResource(ID3D12GraphicsCommandList *iface,