summaryrefslogtreecommitdiffstats
path: root/src/video_core/query_cache/query_stream.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-08-04 13:38:49 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-09-23 23:05:29 +0200
commitaa6587d854e4953876b02ca71278a665bcae8179 (patch)
treef2dafb0cda400fe1321f670c9eacc26051eca9aa /src/video_core/query_cache/query_stream.h
parentMacro HLE: Add DrawIndirectByteCount (diff)
downloadyuzu-aa6587d854e4953876b02ca71278a665bcae8179.tar
yuzu-aa6587d854e4953876b02ca71278a665bcae8179.tar.gz
yuzu-aa6587d854e4953876b02ca71278a665bcae8179.tar.bz2
yuzu-aa6587d854e4953876b02ca71278a665bcae8179.tar.lz
yuzu-aa6587d854e4953876b02ca71278a665bcae8179.tar.xz
yuzu-aa6587d854e4953876b02ca71278a665bcae8179.tar.zst
yuzu-aa6587d854e4953876b02ca71278a665bcae8179.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/query_cache/query_stream.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/query_cache/query_stream.h b/src/video_core/query_cache/query_stream.h
index dd5f95b3c..0e9275565 100644
--- a/src/video_core/query_cache/query_stream.h
+++ b/src/video_core/query_cache/query_stream.h
@@ -70,6 +70,10 @@ public:
return id;
}
+ u64 GetDependenceMask() const {
+ return dependance_mask;
+ }
+
protected:
const size_t id;
const u64 dependance_mask;
@@ -78,7 +82,7 @@ protected:
template <typename QueryType>
class SimpleStreamer : public StreamerInterface {
public:
- SimpleStreamer(size_t id_) : StreamerInterface{id_} {}
+ SimpleStreamer(size_t id_, u64 dependance_mask_ = 0) : StreamerInterface{id_, dependance_mask_} {}
virtual ~SimpleStreamer() = default;
protected: