mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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:
parent
281bdcac73
commit
ee4a02ce77
3 changed files with 21 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
MODULE = d3d12.dll
|
||||
IMPORTLIB = d3d12
|
||||
EXTRALIBS = $(VKD3D_LIBS)
|
||||
EXTRAINCL = $(VKD3D_CFLAGS)
|
||||
|
||||
C_SRCS = \
|
||||
d3d12_main.c
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
103 stub D3D12CoreCreateLayeredDevice
|
||||
104 stub D3D12CoreGetLayeredDeviceSize
|
||||
105 stub D3D12CoreRegisterLayers
|
||||
106 stub D3D12CreateRootSignatureDeserializer
|
||||
106 stdcall D3D12CreateRootSignatureDeserializer(ptr long ptr ptr)
|
||||
107 stub D3D12SerializeRootSignature
|
||||
|
|
|
@ -20,9 +20,18 @@
|
|||
#include "config.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/vulkan.h"
|
||||
|
||||
#include "d3d12.h"
|
||||
|
||||
#include <vkd3d.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(d3d12);
|
||||
|
||||
HRESULT WINAPI D3D12GetDebugInterface(REFIID iid, void **debug)
|
||||
|
@ -40,3 +49,12 @@ HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter, D3D_FEATURE_LEVEL minimum_fe
|
|||
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue