d3d12: Implement D3D12CreateRootSignatureDeserializer().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-05-23 21:02:16 +02:00 committed by Alexandre Julliard
parent 281bdcac73
commit ee4a02ce77
3 changed files with 21 additions and 1 deletions

View File

@ -1,5 +1,7 @@
MODULE = d3d12.dll MODULE = d3d12.dll
IMPORTLIB = d3d12 IMPORTLIB = d3d12
EXTRALIBS = $(VKD3D_LIBS)
EXTRAINCL = $(VKD3D_CFLAGS)
C_SRCS = \ C_SRCS = \
d3d12_main.c d3d12_main.c

View File

@ -4,5 +4,5 @@
103 stub D3D12CoreCreateLayeredDevice 103 stub D3D12CoreCreateLayeredDevice
104 stub D3D12CoreGetLayeredDeviceSize 104 stub D3D12CoreGetLayeredDeviceSize
105 stub D3D12CoreRegisterLayers 105 stub D3D12CoreRegisterLayers
106 stub D3D12CreateRootSignatureDeserializer 106 stdcall D3D12CreateRootSignatureDeserializer(ptr long ptr ptr)
107 stub D3D12SerializeRootSignature 107 stub D3D12SerializeRootSignature

View File

@ -20,9 +20,18 @@
#include "config.h" #include "config.h"
#include "wine/port.h" #include "wine/port.h"
#define VK_NO_PROTOTYPES
#define VKD3D_NO_VULKAN_H
#define VKD3D_NO_WIN32_TYPES
#define WINE_VK_ALIGN(x)
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/vulkan.h"
#include "d3d12.h" #include "d3d12.h"
#include <vkd3d.h>
WINE_DEFAULT_DEBUG_CHANNEL(d3d12); WINE_DEFAULT_DEBUG_CHANNEL(d3d12);
HRESULT WINAPI D3D12GetDebugInterface(REFIID iid, void **debug) HRESULT WINAPI D3D12GetDebugInterface(REFIID iid, void **debug)
@ -40,3 +49,12 @@ HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter, D3D_FEATURE_LEVEL minimum_fe
return E_NOTIMPL; return E_NOTIMPL;
} }
HRESULT WINAPI D3D12CreateRootSignatureDeserializer(const void *data, SIZE_T data_size,
REFIID iid, void **deserializer)
{
TRACE("data %p, data_size %lu, iid %s, deserializer %p.\n",
data, data_size, debugstr_guid(iid), deserializer);
return vkd3d_create_root_signature_deserializer(data, data_size, iid, deserializer);
}