d3d12: Call vkd3d_serialize_root_signature() directly.

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 2019-03-22 09:42:03 +01:00 committed by Alexandre Julliard
parent a29e6b8b77
commit 2f1007490e
1 changed files with 2 additions and 3 deletions

View File

@ -418,11 +418,10 @@ HRESULT WINAPI D3D12SerializeRootSignature(const D3D12_ROOT_SIGNATURE_DESC *root
HRESULT WINAPI D3D12SerializeVersionedRootSignature(const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *desc, HRESULT WINAPI D3D12SerializeVersionedRootSignature(const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *desc,
ID3DBlob **blob, ID3DBlob **error_blob) ID3DBlob **blob, ID3DBlob **error_blob)
{ {
FIXME("desc %p, blob %p, error_blob %p partial-stub!\n", TRACE("desc %p, blob %p, error_blob %p.\n", desc, blob, error_blob);
desc, blob, error_blob);
if (desc->Version == D3D_ROOT_SIGNATURE_VERSION_1_0) if (desc->Version == D3D_ROOT_SIGNATURE_VERSION_1_0)
return D3D12SerializeRootSignature(&desc->Desc_1_0, desc->Version, blob, error_blob); return vkd3d_serialize_root_signature(&desc->Desc_1_0, desc->Version, blob, error_blob);
FIXME("Unsupported version %#x.\n", desc->Version); FIXME("Unsupported version %#x.\n", desc->Version);
return E_NOTIMPL; return E_NOTIMPL;