d3d12: Implement D3D12SerializeRootSignature().

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:17 +02:00 committed by Alexandre Julliard
parent ee4a02ce77
commit 803fa96205
2 changed files with 10 additions and 1 deletions

View File

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

View File

@ -58,3 +58,12 @@ HRESULT WINAPI D3D12CreateRootSignatureDeserializer(const void *data, SIZE_T dat
return vkd3d_create_root_signature_deserializer(data, data_size, iid, deserializer); return vkd3d_create_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)
{
TRACE("root_signature_desc %p, version %#x, blob %p, error_blob %p.\n",
root_signature_desc, version, blob, error_blob);
return vkd3d_serialize_root_signature(root_signature_desc, version, blob, error_blob);
}