summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorLevi Behunin <l3ehunin@gmail.com>2020-09-25 00:40:06 +0200
committerLevi Behunin <l3ehunin@gmail.com>2020-09-25 00:40:06 +0200
commitd53b79ff5ca37d5110034e73e50b2fe35c3868ee (patch)
treebe721bef251f8cb6b2d7a8e4333a35ff8fe8ff18 /src/video_core/shader/node.h
parentMerge pull request #4678 from Morph1984/LoadOpenContext-partial-impl (diff)
downloadyuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.tar
yuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.tar.gz
yuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.tar.bz2
yuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.tar.lz
yuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.tar.xz
yuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.tar.zst
yuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.zip
Diffstat (limited to 'src/video_core/shader/node.h')
-rw-r--r--src/video_core/shader/node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h
index 8f230d57a..11a8a3f70 100644
--- a/src/video_core/shader/node.h
+++ b/src/video_core/shader/node.h
@@ -464,6 +464,10 @@ public:
return operands.size();
}
+ NodeBlock GetOperands() const {
+ return operands;
+ }
+
const Node& operator[](std::size_t operand_index) const {
return operands.at(operand_index);
}