summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorGravatar liamwhite2023-05-11 10:45:59 -0400
committerGravatar GitHub2023-05-11 10:45:59 -0400
commit182221b9ffdee68c0f8c3749868918799f5b3d0f (patch)
tree53197c7461115b3f7c4855353356bd1a5ba17a0f /src/video_core/texture_cache
parentMerge pull request #10216 from Kelebek1/buffer_cache_region_checks (diff)
parentAllow Fermi blit accelerate to add src/dst to the cache if they don't exist a... (diff)
downloadyuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.tar.gz
yuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.tar.xz
yuzu-182221b9ffdee68c0f8c3749868918799f5b3d0f.zip
Merge pull request #10132 from Kelebek1/fermi_blit2
Allow Fermi blit accelerate to work without images in cache
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h2
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
1469 if (!copy.must_accelerate) { 1469 if (!copy.must_accelerate) {
1470 do { 1470 do {
1471 if (!src_id && !dst_id) { 1471 if (!src_id && !dst_id) {
1472 return std::nullopt; 1472 break;
1473 } 1473 }
1474 if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { 1474 if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) {
1475 break; 1475 break;