[D3D12] Resolve dimension calculation

This commit is contained in:
Triang3l
2018-08-20 17:58:20 +03:00
parent 153c6bf713
commit f9fdcbb2dc
3 changed files with 142 additions and 15 deletions

View File

@@ -795,8 +795,11 @@ bool D3D12CommandProcessor::IssueDraw(PrimitiveType primitive_type,
}
bool D3D12CommandProcessor::IssueCopy() {
#if FINE_GRAINED_DRAW_SCOPES
SCOPE_profile_cpu_f("gpu");
#endif // FINE_GRAINED_DRAW_SCOPES
BeginFrame();
return render_target_cache_->Resolve(shared_memory_.get());
return render_target_cache_->Resolve(shared_memory_.get(), memory_);
}
bool D3D12CommandProcessor::BeginFrame() {