diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-08-19 21:49:38 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-09-23 23:05:30 +0200 |
commit | 2fea1b8407b66dd0e9ed1776c34dad043e1becf4 (patch) | |
tree | 4a5ad2bc67d2f07c1fafd7d3d1afb8d8b473fb9a /src/video_core/query_cache/query_stream.h | |
parent | Query Cache: address issues (diff) | |
download | yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.tar yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.tar.gz yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.tar.bz2 yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.tar.lz yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.tar.xz yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.tar.zst yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/query_cache/query_stream.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/query_cache/query_stream.h b/src/video_core/query_cache/query_stream.h index e7aac955b..39da6ac07 100644 --- a/src/video_core/query_cache/query_stream.h +++ b/src/video_core/query_cache/query_stream.h @@ -78,6 +78,14 @@ public: return dependence_mask; } + u64 GetAmmendValue() const { + return ammend_value; + } + + void SetAccumulationValue(u64 new_value) { + acumulation_value = new_value; + } + protected: void MakeDependent(StreamerInterface* depend_on) { dependence_mask |= 1ULL << depend_on->id; @@ -87,6 +95,8 @@ protected: const size_t id; u64 dependence_mask; u64 dependent_mask; + u64 ammend_value{}; + u64 acumulation_value{}; }; template <typename QueryType> |