From 112d750e301ce024f4cd38f91af47a59ce557b0d Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 18 Jan 2017 14:23:22 +0100 Subject: [PATCH] Mute nonsense D3D12 debug message --- renderdoc/driver/d3d12/d3d12_device.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/renderdoc/driver/d3d12/d3d12_device.cpp b/renderdoc/driver/d3d12/d3d12_device.cpp index ad2943cce..9eab9f495 100644 --- a/renderdoc/driver/d3d12/d3d12_device.cpp +++ b/renderdoc/driver/d3d12/d3d12_device.cpp @@ -311,6 +311,11 @@ WrappedID3D12Device::WrappedID3D12Device(ID3D12Device *realDevice, D3D12InitPara // message about a NULL range to map for reading/writing the whole resource // which is "inefficient" but for our use cases it's almost always what we mean. D3D12_MESSAGE_ID_MAP_INVALID_NULLRANGE, + + // D3D12_MESSAGE_ID_COMMAND_LIST_STATIC_DESCRIPTOR_RESOURCE_DIMENSION_MISMATCH + // message about mismatched SRV dimensions, which it seems to get wrong with the + // dummy NULL descriptors on the texture sampling code + (D3D12_MESSAGE_ID)1023, }; D3D12_INFO_QUEUE_FILTER filter = {};