Commit 5307a251 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d12: Add stub for D3D12SerializeVersionedRootSignature().

parent 8de1e92f
......@@ -7,3 +7,5 @@
@ stdcall D3D12CreateRootSignatureDeserializer(ptr long ptr ptr)
@ stdcall D3D12SerializeRootSignature(ptr long ptr ptr)
@ stdcall D3D12EnableExperimentalFeatures(long ptr ptr ptr)
#@ stub D3D12CreateVersionedRootSignatureDeserializer
@ stdcall D3D12SerializeVersionedRootSignature(ptr ptr ptr)
......@@ -182,3 +182,16 @@ HRESULT WINAPI D3D12SerializeRootSignature(const D3D12_ROOT_SIGNATURE_DESC *root
return vkd3d_serialize_root_signature(root_signature_desc, version, blob, error_blob);
}
HRESULT WINAPI D3D12SerializeVersionedRootSignature(const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *desc,
ID3DBlob **blob, ID3DBlob **error_blob)
{
FIXME("desc %p, blob %p, error_blob %p partial-stub!\n",
desc, blob, error_blob);
if (desc->Version == D3D_ROOT_SIGNATURE_VERSION_1_0)
return D3D12SerializeRootSignature(&desc->Desc_1_0, desc->Version, blob, error_blob);
FIXME("Unsupported version %#x.\n", desc->Version);
return E_NOTIMPL;
}
......@@ -2171,6 +2171,10 @@ interface ID3D12RootSignatureDeserializer : IUnknown
const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *root_signature_desc,
ID3DBlob **blob, ID3DBlob **error_blob);
[local] HRESULT __stdcall D3D12SerializeVersionedRootSignature(
const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *desc,
ID3DBlob **blob, ID3DBlob **error_blob);
typedef HRESULT (__stdcall *PFN_D3D12_CREATE_DEVICE)(IUnknown *adapter,
D3D_FEATURE_LEVEL minimum_feature_level, REFIID iid, void **device);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment