From e4cc738a13fd01d68a143705ad0a90417cc2d44f Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 18 Oct 2016 12:03:16 +0200 Subject: [PATCH] Ignore D3D12 debug message about NULL map ranges --- renderdoc/driver/d3d12/d3d12_device.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/renderdoc/driver/d3d12/d3d12_device.cpp b/renderdoc/driver/d3d12/d3d12_device.cpp index adfe4ff20..dabb7d0c3 100644 --- a/renderdoc/driver/d3d12/d3d12_device.cpp +++ b/renderdoc/driver/d3d12/d3d12_device.cpp @@ -294,6 +294,10 @@ WrappedID3D12Device::WrappedID3D12Device(ID3D12Device *realDevice, D3D12InitPara // will be potentially highlighted in the pipeline view D3D12_MESSAGE_ID_INVALID_DESCRIPTOR_HANDLE, D3D12_MESSAGE_ID_COMMAND_LIST_DESCRIPTOR_TABLE_NOT_SET, + + // 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_INFO_QUEUE_FILTER filter = {};