d3d12: Implement D3D12CreateVersionedRootSignatureDeserializer().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2021-01-22 10:45:24 +01:00 committed by Alexandre Julliard
parent 681105fd48
commit 8c412417de
2 changed files with 10 additions and 1 deletions

View File

@ -5,7 +5,7 @@
@ stub D3D12CoreGetLayeredDeviceSize
@ stub D3D12CoreRegisterLayers
@ stdcall D3D12CreateRootSignatureDeserializer(ptr long ptr ptr)
#@ stub D3D12CreateVersionedRootSignatureDeserializer
@ stdcall D3D12CreateVersionedRootSignatureDeserializer(ptr long ptr ptr)
@ stdcall D3D12EnableExperimentalFeatures(long ptr ptr ptr)
@ stdcall D3D12SerializeRootSignature(ptr long ptr ptr)
@ stdcall D3D12SerializeVersionedRootSignature(ptr ptr ptr)

View File

@ -406,6 +406,15 @@ HRESULT WINAPI D3D12CreateRootSignatureDeserializer(const void *data, SIZE_T dat
return vkd3d_create_root_signature_deserializer(data, data_size, iid, deserializer);
}
HRESULT WINAPI D3D12CreateVersionedRootSignatureDeserializer(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_versioned_root_signature_deserializer(data, data_size, iid, deserializer);
}
HRESULT WINAPI D3D12SerializeRootSignature(const D3D12_ROOT_SIGNATURE_DESC *root_signature_desc,
D3D_ROOT_SIGNATURE_VERSION version, ID3DBlob **blob, ID3DBlob **error_blob)
{