Don't warn, silently drop unknown/undefined signature elements

This commit is contained in:
baldurk
2016-09-23 13:13:50 +02:00
parent 62a9052cdc
commit 131d3cedd2
-8
View File
@@ -108,10 +108,6 @@ struct D3D12RenderState
ID3D12Resource *res = rm->GetCurrentAs<ID3D12Resource>(id);
cmd->SetGraphicsRootUnorderedAccessView(slot, res->GetGPUVirtualAddress() + offset);
}
else
{
RDCWARN("Unexpected root signature element of type '%u' - skipping.", type);
}
}
void SetToCompute(D3D12ResourceManager *rm, ID3D12GraphicsCommandList *cmd, UINT slot)
@@ -142,10 +138,6 @@ struct D3D12RenderState
ID3D12Resource *res = rm->GetCurrentAs<ID3D12Resource>(id);
cmd->SetComputeRootUnorderedAccessView(slot, res->GetGPUVirtualAddress() + offset);
}
else
{
RDCWARN("Unexpected root signature element of type '%u' - skipping.", type);
}
}
SignatureElementType type;