d3d12: Add stub for D3D12EnableExperimentalFeatures().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2019-03-07 11:21:21 +01:00 committed by Alexandre Julliard
parent ffe1049e54
commit 8de1e92fc2
3 changed files with 13 additions and 0 deletions

View File

@ -6,3 +6,4 @@
@ stub D3D12CoreRegisterLayers @ stub D3D12CoreRegisterLayers
@ stdcall D3D12CreateRootSignatureDeserializer(ptr long ptr ptr) @ stdcall D3D12CreateRootSignatureDeserializer(ptr long ptr ptr)
@ stdcall D3D12SerializeRootSignature(ptr long ptr ptr) @ stdcall D3D12SerializeRootSignature(ptr long ptr ptr)
@ stdcall D3D12EnableExperimentalFeatures(long ptr ptr ptr)

View File

@ -45,6 +45,15 @@ HRESULT WINAPI D3D12GetDebugInterface(REFIID iid, void **debug)
return DXGI_ERROR_SDK_COMPONENT_MISSING; return DXGI_ERROR_SDK_COMPONENT_MISSING;
} }
HRESULT WINAPI D3D12EnableExperimentalFeatures(UINT feature_count,
const IID *iids, void *configurations, UINT *configurations_sizes)
{
FIXME("feature_count %u, iids %p, configurations %p, configurations_sizes %p stub!\n",
feature_count, iids, configurations, configurations_sizes);
return E_NOINTERFACE;
}
static HRESULT d3d12_signal_event(HANDLE event) static HRESULT d3d12_signal_event(HANDLE event)
{ {
return SetEvent(event) ? S_OK : E_FAIL; return SetEvent(event) ? S_OK : E_FAIL;

View File

@ -2180,3 +2180,6 @@ typedef HRESULT (__stdcall *PFN_D3D12_CREATE_DEVICE)(IUnknown *adapter,
typedef HRESULT (__stdcall *PFN_D3D12_GET_DEBUG_INTERFACE)(REFIID iid, void **debug); typedef HRESULT (__stdcall *PFN_D3D12_GET_DEBUG_INTERFACE)(REFIID iid, void **debug);
[local] HRESULT __stdcall D3D12GetDebugInterface(REFIID iid, void **debug); [local] HRESULT __stdcall D3D12GetDebugInterface(REFIID iid, void **debug);
[local] HRESULT __stdcall D3D12EnableExperimentalFeatures(UINT feature_count,
const IID *iids, void *configurations, UINT *configurations_sizes);