d3d12: Add dll.

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 2018-02-14 12:35:52 +01:00 committed by Alexandre Julliard
parent 9f0eb8442f
commit 8d6f7ed292
5 changed files with 58 additions and 0 deletions

2
configure vendored
View File

@ -1128,6 +1128,7 @@ enable_d3d10
enable_d3d10_1
enable_d3d10core
enable_d3d11
enable_d3d12
enable_d3d8
enable_d3d9
enable_d3dcompiler_33
@ -18588,6 +18589,7 @@ wine_fn_config_dll d3d10core enable_d3d10core implib
wine_fn_config_test dlls/d3d10core/tests d3d10core_test
wine_fn_config_dll d3d11 enable_d3d11 implib
wine_fn_config_test dlls/d3d11/tests d3d11_test
wine_fn_config_dll d3d12 enable_d3d12 implib
wine_fn_config_dll d3d8 enable_d3d8 implib
wine_fn_config_test dlls/d3d8/tests d3d8_test
wine_fn_config_dll d3d9 enable_d3d9 implib

View File

@ -3068,6 +3068,7 @@ WINE_CONFIG_DLL(d3d10core,,[implib])
WINE_CONFIG_TEST(dlls/d3d10core/tests)
WINE_CONFIG_DLL(d3d11,,[implib])
WINE_CONFIG_TEST(dlls/d3d11/tests)
WINE_CONFIG_DLL(d3d12,,[implib])
WINE_CONFIG_DLL(d3d8,,[implib])
WINE_CONFIG_TEST(dlls/d3d8/tests)
WINE_CONFIG_DLL(d3d9,,[implib])

5
dlls/d3d12/Makefile.in Normal file
View File

@ -0,0 +1,5 @@
MODULE = d3d12.dll
IMPORTLIB = d3d12
C_SRCS = \
d3d12_main.c

8
dlls/d3d12/d3d12.spec Normal file
View File

@ -0,0 +1,8 @@
100 stub GetBehaviorValue
101 stdcall D3D12CreateDevice(ptr long ptr ptr)
102 stdcall D3D12GetDebugInterface(ptr ptr)
103 stub D3D12CoreCreateLayeredDevice
104 stub D3D12CoreGetLayeredDeviceSize
105 stub D3D12CoreRegisterLayers
106 stub D3D12CreateRootSignatureDeserializer
107 stub D3D12SerializeRootSignature

42
dlls/d3d12/d3d12_main.c Normal file
View File

@ -0,0 +1,42 @@
/*
* Copyright 2018 Józef Kucia for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "config.h"
#include "wine/port.h"
#include "wine/debug.h"
#include "d3d12.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d12);
HRESULT WINAPI D3D12GetDebugInterface(REFIID iid, void **debug)
{
FIXME("iid %s, debug %p stub!\n", debugstr_guid(iid), debug);
return E_NOTIMPL;
}
HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter, D3D_FEATURE_LEVEL minimum_feature_level,
REFIID iid, void **device)
{
FIXME("adapter %p, minimum_feature_level %#x, iid %s, device %p stub!\n",
adapter, minimum_feature_level, debugstr_guid(iid), device);
return E_NOTIMPL;
}