diff options
| author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-05-01 18:46:03 +0100 |
|---|---|---|
| committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-05-11 06:42:38 +0100 |
| commit | fc6c77f7ae5be9e1ee5769dc7a6e15d4d1cc9fb0 (patch) | |
| tree | 47b1b46b04623bd860ac07e09a190d65f1ac3d06 /src/video_core/texture_cache/texture_cache.h | |
| parent | 0365c544c5f8731ec383f32891127f3df8517e22 (diff) | |
Allow Fermi blit accelerate to add src/dst to the cache if they don't exist already. Use ScratchBuffers in the software blit path.
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
| -rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index e1198dcf8c..b24086fce5 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -1469,7 +1469,7 @@ std::optional<typename TextureCache<P>::BlitImages> TextureCache<P>::GetBlitImag if (!copy.must_accelerate) { do { if (!src_id && !dst_id) { - return std::nullopt; + break; } if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { break; |
