summaryrefslogtreecommitdiffstats
path: root/src/video_core/query_cache
diff options
context:
space:
mode:
authorViktor Szépe <viktor@szepe.net>2024-01-07 23:44:55 +0100
committerViktor Szépe <viktor@szepe.net>2024-01-07 23:44:55 +0100
commit53085a45e0b2cc995f4056de40116a66f7ae7c08 (patch)
tree532a7e9b391510ea4e9fb254d669b405de7b289d /src/video_core/query_cache
parentMerge pull request #12560 from GayPotatoEmma/master (diff)
downloadyuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar
yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.gz
yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.bz2
yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.lz
yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.xz
yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.tar.zst
yuzu-53085a45e0b2cc995f4056de40116a66f7ae7c08.zip
Diffstat (limited to 'src/video_core/query_cache')
-rw-r--r--src/video_core/query_cache/query_cache.h2
-rw-r--r--src/video_core/query_cache/query_stream.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/video_core/query_cache/query_cache.h b/src/video_core/query_cache/query_cache.h
index efa9adf7a..94f0c4466 100644
--- a/src/video_core/query_cache/query_cache.h
+++ b/src/video_core/query_cache/query_cache.h
@@ -269,7 +269,7 @@ void QueryCacheBase<Traits>::CounterReport(GPUVAddr addr, QueryType counter_type
ASSERT(false);
return;
}
- query_base->value += streamer->GetAmmendValue();
+ query_base->value += streamer->GetAmendValue();
streamer->SetAccumulationValue(query_base->value);
if (True(query_base->flags & QueryFlagBits::HasTimestamp)) {
u64 timestamp = impl->gpu.GetTicks();
diff --git a/src/video_core/query_cache/query_stream.h b/src/video_core/query_cache/query_stream.h
index 39da6ac07..d9040acd2 100644
--- a/src/video_core/query_cache/query_stream.h
+++ b/src/video_core/query_cache/query_stream.h
@@ -78,12 +78,12 @@ public:
return dependence_mask;
}
- u64 GetAmmendValue() const {
- return ammend_value;
+ u64 GetAmendValue() const {
+ return amend_value;
}
void SetAccumulationValue(u64 new_value) {
- acumulation_value = new_value;
+ accumulation_value = new_value;
}
protected:
@@ -95,8 +95,8 @@ protected:
const size_t id;
u64 dependence_mask;
u64 dependent_mask;
- u64 ammend_value{};
- u64 acumulation_value{};
+ u64 amend_value{};
+ u64 accumulation_value{};
};
template <typename QueryType>