summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-24 06:09:00 +0100
committerGitHub <noreply@github.com>2023-11-24 06:09:00 +0100
commit093eb075a686d3584f59b129a200c2652a5cdb10 (patch)
treec28050eb3737be1ebb3be8853517333f4f436907
parentMerge pull request #12076 from german77/resource (diff)
parentquery_cache: demote report synced unreachable to assert (diff)
downloadyuzu-093eb075a686d3584f59b129a200c2652a5cdb10.tar
yuzu-093eb075a686d3584f59b129a200c2652a5cdb10.tar.gz
yuzu-093eb075a686d3584f59b129a200c2652a5cdb10.tar.bz2
yuzu-093eb075a686d3584f59b129a200c2652a5cdb10.tar.lz
yuzu-093eb075a686d3584f59b129a200c2652a5cdb10.tar.xz
yuzu-093eb075a686d3584f59b129a200c2652a5cdb10.tar.zst
yuzu-093eb075a686d3584f59b129a200c2652a5cdb10.zip
-rw-r--r--src/video_core/query_cache/query_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/query_cache/query_cache.h b/src/video_core/query_cache/query_cache.h
index 78b42b518..efa9adf7a 100644
--- a/src/video_core/query_cache/query_cache.h
+++ b/src/video_core/query_cache/query_cache.h
@@ -266,7 +266,7 @@ void QueryCacheBase<Traits>::CounterReport(GPUVAddr addr, QueryType counter_type
return;
}
if (False(query_base->flags & QueryFlagBits::IsFinalValueSynced)) [[unlikely]] {
- UNREACHABLE();
+ ASSERT(false);
return;
}
query_base->value += streamer->GetAmmendValue();