diff options
| author | 2023-05-24 10:52:02 +0200 | |
|---|---|---|
| committer | 2023-05-24 10:52:02 +0200 | |
| commit | be3a7f4096a5e8554ca81ef5176a6a32d28d609e (patch) | |
| tree | aeff102e622fcfc7ee31bde39a9b50e3bc2298d2 | |
| parent | Merge pull request #10422 from liamwhite/gc (diff) | |
| download | yuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.tar.gz yuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.tar.xz yuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.zip | |
Texture cache: revert wrong acceleration assumption
| -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 9790949f5..31d754550 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h | |||
| @@ -1507,7 +1507,7 @@ std::optional<typename TextureCache<P>::BlitImages> TextureCache<P>::GetBlitImag | |||
| 1507 | if (!copy.must_accelerate) { | 1507 | if (!copy.must_accelerate) { |
| 1508 | do { | 1508 | do { |
| 1509 | if (!src_id && !dst_id) { | 1509 | if (!src_id && !dst_id) { |
| 1510 | break; | 1510 | return std::nullopt; |
| 1511 | } | 1511 | } |
| 1512 | if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { | 1512 | if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { |
| 1513 | break; | 1513 | break; |