Remove D3D12 live object reporting
This ends up incorrectly reporting live objects from previous CTS tests. We should find a better way to call ReportLiveObjects, but doing so on backend initialization is probably not the right time. Bug: dawn:745 Change-Id: I9d0beb5f8b20af9c83f5e78f19630d5c78ef4da2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46721 Auto-Submit: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Bryan Bernhart <bryan.bernhart@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
5b196463be
commit
0a067f1ff9
|
@ -48,13 +48,6 @@ namespace dawn_native { namespace d3d12 {
|
|||
// Enable additional debug layers.
|
||||
dxgiFactoryFlags |= DXGI_CREATE_FACTORY_DEBUG;
|
||||
}
|
||||
|
||||
ComPtr<IDXGIDebug1> dxgiDebug;
|
||||
if (SUCCEEDED(functions->dxgiGetDebugInterface1(0, IID_PPV_ARGS(&dxgiDebug)))) {
|
||||
ASSERT(dxgiDebug != nullptr);
|
||||
dxgiDebug->ReportLiveObjects(DXGI_DEBUG_ALL,
|
||||
DXGI_DEBUG_RLO_FLAGS(DXGI_DEBUG_RLO_ALL));
|
||||
}
|
||||
}
|
||||
|
||||
if (beginCaptureOnStartup) {
|
||||
|
|
Loading…
Reference in New Issue