[D3D12] Resolve fetch memory read tracing

This commit is contained in:
Triang3l
2019-10-25 09:16:42 +03:00
parent c057b5a032
commit f75d927cc5
3 changed files with 10 additions and 4 deletions

View File

@@ -743,7 +743,7 @@ bool D3D12CommandProcessor::SetupContext() {
}
render_target_cache_ =
std::make_unique<RenderTargetCache>(this, register_file_);
std::make_unique<RenderTargetCache>(this, register_file_, &trace_writer_);
if (!render_target_cache_->Initialize(texture_cache_.get())) {
XELOGE("Failed to initialize the render target cache");
return false;