mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
libs/vkd3d: Implement creating root signature from bytecode.
This commit is contained in:
@@ -1273,14 +1273,7 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CreateRootSignature(ID3D12Device *
|
||||
if (node_mask && node_mask != 1)
|
||||
FIXME("Ignoring node mask 0x%08x.\n", node_mask);
|
||||
|
||||
if (bytecode_length != ~(SIZE_T)0)
|
||||
{
|
||||
FIXME("Root signature byte code not supported.\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
if (FAILED(hr = d3d12_root_signature_create(device,
|
||||
(const D3D12_ROOT_SIGNATURE_DESC *)bytecode, &object)))
|
||||
if (FAILED(hr = d3d12_root_signature_create(device, bytecode, bytecode_length, &object)))
|
||||
return hr;
|
||||
|
||||
return return_interface((IUnknown *)&object->ID3D12RootSignature_iface,
|
||||
|
||||
Reference in New Issue
Block a user