Save textures on background tasks when texture dumping is enabled.

Should help #15478, at least a bit.
This commit is contained in:
Henrik Rydgård committed 2022-04-18 00:26:35 +02:00
1 parent 3a09c85fb1
commit b1af940d8e
4 files changed
+63 -17

No files matched your search

+1
View File
@@ -736,6 +736,7 @@ void TextureCacheD3D11::LoadTextureLevel(TexCacheEntry &entry, ReplacedTexture &
replacedInfo.scaleFactor = scaleFactor;
replacedInfo.fmt = FromD3D11Format(dstFmt);
// NOTE: Reading the decoded texture here may be very slow, if we just wrote it to write-combined memory.
replacer_.NotifyTextureDecoded(replacedInfo, pixelData, decPitch, level, w, h);
}
}