mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't warn, silently drop unknown/undefined signature elements
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user