summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-05-04 02:36:18 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-05-07 23:46:12 +0200
commitab0c0a469c29900314847520f30d6edb914fa028 (patch)
tree025e810bce98ec382441e33958f34aa8c0286340 /src
parentSettings: add option to enable / disable reactive flushing (diff)
downloadyuzu-ab0c0a469c29900314847520f30d6edb914fa028.tar
yuzu-ab0c0a469c29900314847520f30d6edb914fa028.tar.gz
yuzu-ab0c0a469c29900314847520f30d6edb914fa028.tar.bz2
yuzu-ab0c0a469c29900314847520f30d6edb914fa028.tar.lz
yuzu-ab0c0a469c29900314847520f30d6edb914fa028.tar.xz
yuzu-ab0c0a469c29900314847520f30d6edb914fa028.tar.zst
yuzu-ab0c0a469c29900314847520f30d6edb914fa028.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/query_cache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/query_cache.h b/src/video_core/query_cache.h
index 941de95c1..1528cc1dd 100644
--- a/src/video_core/query_cache.h
+++ b/src/video_core/query_cache.h
@@ -255,7 +255,6 @@ private:
if (!in_range(query)) {
continue;
}
- rasterizer.UpdatePagesCachedCount(query.GetCpuAddr(), query.SizeInBytes(), -1);
AsyncJobId async_job_id = query.GetAsyncJob();
auto flush_result = query.Flush(async);
if (async_job_id == NULL_ASYNC_JOB_ID) {
@@ -273,7 +272,6 @@ private:
/// Registers the passed parameters as cached and returns a pointer to the stored cached query.
CachedQuery* Register(VideoCore::QueryType type, VAddr cpu_addr, u8* host_ptr, bool timestamp) {
- rasterizer.UpdatePagesCachedCount(cpu_addr, CachedQuery::SizeInBytes(timestamp), 1);
const u64 page = static_cast<u64>(cpu_addr) >> YUZU_PAGEBITS;
return &cached_queries[page].emplace_back(static_cast<QueryCache&>(*this), type, cpu_addr,
host_ptr);