aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-22 21:57:14 -0800
committerGitHub <noreply@github.com>2021-01-22 21:57:14 -0800
commit302a5f00e845cdbf9f95d713e4ab23165d71bdc5 (patch)
tree32388343658d3f7191e856334de496e2b3cec41e /src/video_core/shader/node.h
parent981d8e82d2336cac0583bf7edafacfdb1e5475a8 (diff)
parent7a3c884e39fccfbb498b855080bffabc9ce2e7f1 (diff)
Merge pull request #4713 from behunin/int-flags
Start of Integer flags implementation
Diffstat (limited to 'src/video_core/shader/node.h')
-rw-r--r--src/video_core/shader/node.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h
index b54d33763..c9840b75e 100644
--- a/src/video_core/shader/node.h
+++ b/src/video_core/shader/node.h
@@ -465,6 +465,14 @@ public:
return operands.size();
}
+ NodeBlock& GetOperands() {
+ return operands;
+ }
+
+ const NodeBlock& GetOperands() const {
+ return operands;
+ }
+
[[nodiscard]] const Node& operator[](std::size_t operand_index) const {
return operands.at(operand_index);
}