summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-06-14 20:11:46 +0200
committerLiam <byteslice@airmail.cc>2023-06-14 20:11:46 +0200
commit8d6aefdcc452b602d94a84d13bbbc15f806b689c (patch)
tree772ec67651a9e8f9c319815bfbfc95c274ff30c9 /src/video_core
parentMerge pull request #10773 from 8bitDream/vcpkg (diff)
downloadyuzu-8d6aefdcc452b602d94a84d13bbbc15f806b689c.tar
yuzu-8d6aefdcc452b602d94a84d13bbbc15f806b689c.tar.gz
yuzu-8d6aefdcc452b602d94a84d13bbbc15f806b689c.tar.bz2
yuzu-8d6aefdcc452b602d94a84d13bbbc15f806b689c.tar.lz
yuzu-8d6aefdcc452b602d94a84d13bbbc15f806b689c.tar.xz
yuzu-8d6aefdcc452b602d94a84d13bbbc15f806b689c.tar.zst
yuzu-8d6aefdcc452b602d94a84d13bbbc15f806b689c.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/texture_cache/texture_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index c7f7448e9..43b7ac0a6 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -186,6 +186,10 @@ void TextureCache<P>::FillComputeImageViews(std::span<ImageViewInOut> views) {
template <class P>
void TextureCache<P>::CheckFeedbackLoop(std::span<const ImageViewInOut> views) {
+ if (!Settings::values.barrier_feedback_loops.GetValue()) {
+ return;
+ }
+
const bool requires_barrier = [&] {
for (const auto& view : views) {
if (!view.id) {