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.
This commit is contained in:
baldurk
2016-09-23 13:04:33 +02:00
parent ed6b1a738c
commit 62a9052cdc
+8
View File
@@ -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 = {};