From 62a9052cdc0ceefb9009b674a5324126644dfff7 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 23 Sep 2016 13:04:33 +0200 Subject: [PATCH] Mute some more debug messages that are more trouble than they're worth * The descriptor ones show up regularly in MS's MiniEngine sample project, so it hides possible real problems. --- renderdoc/driver/d3d12/d3d12_device.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/renderdoc/driver/d3d12/d3d12_device.cpp b/renderdoc/driver/d3d12/d3d12_device.cpp index 90d1556a6..92e0842b6 100644 --- a/renderdoc/driver/d3d12/d3d12_device.cpp +++ b/renderdoc/driver/d3d12/d3d12_device.cpp @@ -278,6 +278,14 @@ WrappedID3D12Device::WrappedID3D12Device(ID3D12Device *realDevice, D3D12InitPara D3D12_MESSAGE_ID mute[] = { // super spammy, mostly just perf warning, and impossible to fix for our cases D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE, + D3D12_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_MISMATCHINGCLEARVALUE, + + // caused often by an over-declaration in the root signature to match between + // different shaders, and in some descriptors are entirely skipped. We rely on + // the user to get this right - if the error is non-fatal, any real problems + // will be potentially highlighted in the pipeline view + D3D12_MESSAGE_ID_INVALID_DESCRIPTOR_HANDLE, + D3D12_MESSAGE_ID_COMMAND_LIST_DESCRIPTOR_TABLE_NOT_SET, }; D3D12_INFO_QUEUE_FILTER filter = {};