From b610cb8d44757838daa8675ccd017faf02178781 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 22 Nov 2018 16:55:23 +0000 Subject: [PATCH] Mute annoying and false-positive PIX event messages --- renderdoc/driver/d3d12/d3d12_device.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/renderdoc/driver/d3d12/d3d12_device.cpp b/renderdoc/driver/d3d12/d3d12_device.cpp index 365928be8..21cc33ab2 100644 --- a/renderdoc/driver/d3d12/d3d12_device.cpp +++ b/renderdoc/driver/d3d12/d3d12_device.cpp @@ -295,6 +295,9 @@ WrappedID3D12Device::WrappedID3D12Device(ID3D12Device *realDevice, D3D12InitPara m_pInfoQueue->SetMuteDebugOutput(false); D3D12_MESSAGE_ID mute[] = { + // the runtime cries foul when you use normal APIs in expected ways (for simple markers) + D3D12_MESSAGE_ID_CORRUPTED_PARAMETER2, + // super spammy, mostly just perf warning, and impossible to fix for our cases D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE, D3D12_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_MISMATCHINGCLEARVALUE,