libs/vkd3d: Accept D3D12_ROOT_SIGNATURE_DESC directly only when all bits of "bytecode_length" are set.

This commit is contained in:
Józef Kucia
2016-10-10 11:22:50 +02:00
parent f530155ff1
commit a22b594c0a
2 changed files with 2 additions and 2 deletions

View File

@@ -719,7 +719,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 != ~0u)
if (bytecode_length != ~(SIZE_T)0)
{
FIXME("Root signature byte code not supported.\n");
return E_NOTIMPL;