From b91c24870b6d4d430c44f312b0ec5a1306e3bd8f Mon Sep 17 00:00:00 2001 From: Triang3l Date: Tue, 6 Oct 2020 22:35:43 +0300 Subject: [PATCH] [D3D12] Remove await result check in trace init - unsafe too, but not leaking --- src/xenia/gpu/d3d12/d3d12_command_processor.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xenia/gpu/d3d12/d3d12_command_processor.cc b/src/xenia/gpu/d3d12/d3d12_command_processor.cc index ec31cc042..3e5186384 100644 --- a/src/xenia/gpu/d3d12/d3d12_command_processor.cc +++ b/src/xenia/gpu/d3d12/d3d12_command_processor.cc @@ -2322,9 +2322,7 @@ void D3D12CommandProcessor::InitializeTrace() { if (!render_target_cache_submitted && !shared_memory_submitted) { return; } - if (!AwaitAllQueueOperationsCompletion()) { - return; - } + AwaitAllQueueOperationsCompletion(); if (render_target_cache_submitted) { render_target_cache_->InitializeTraceCompleteDownloads(); }