[D3D12] Refactor EDRAM load/store pipelines into modes

This commit is contained in:
Triang3l
2018-08-19 21:11:16 +03:00
parent e3a50a207d
commit 153c6bf713
3 changed files with 126 additions and 125 deletions

View File

@@ -794,7 +794,10 @@ bool D3D12CommandProcessor::IssueDraw(PrimitiveType primitive_type,
return true;
}
bool D3D12CommandProcessor::IssueCopy() { return true; }
bool D3D12CommandProcessor::IssueCopy() {
BeginFrame();
return render_target_cache_->Resolve(shared_memory_.get());
}
bool D3D12CommandProcessor::BeginFrame() {
if (current_queue_frame_ != UINT32_MAX) {