Fixes for D3D11

This commit is contained in:
Henrik Rydgård 2022-08-20 16:32:04 +02:00
parent e2707d3ab3
commit ca24f1b9aa
4 changed files with 26 additions and 2 deletions

View file

@ -552,6 +552,8 @@ void FramebufferManagerCommon::CopyToDepthFromOverlappingFramebuffers(VirtualFra
// for (auto &source : sources) {
if (!sources.empty()) {
draw_->InvalidateCachedState();
auto &source = sources.back();
if (source.channel == RASTER_DEPTH) {
// Good old depth->depth copy.