diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-05-11 16:45:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 16:45:59 +0200 |
commit | 182221b9ffdee68c0f8c3749868918799f5b3d0f (patch) | |
tree | 53197c7461115b3f7c4855353356bd1a5ba17a0f /src/video_core/texture_cache/texture_cache.h | |
parent | Merge pull request #10216 from Kelebek1/buffer_cache_region_checks (diff) | |
parent | Allow Fermi blit accelerate to add src/dst to the cache if they don't exist already. Use ScratchBuffers in the software blit path. (diff) | |
download | yuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.tar yuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.tar.gz yuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.tar.bz2 yuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.tar.lz yuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.tar.xz yuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.tar.zst yuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.zip |
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 e1198dcf8..b24086fce 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; |