summaryrefslogtreecommitdiff
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-01-22 21:57:14 -0800
committerGravatar GitHub2021-01-22 21:57:14 -0800
commit302a5f00e845cdbf9f95d713e4ab23165d71bdc5 (patch)
tree32388343658d3f7191e856334de496e2b3cec41e /src/video_core/shader/node.h
parentMerge pull request #5765 from ogniK5377/StoreSaveDataThumbnail-stub (diff)
parentMerge remote-tracking branch 'upstream/master' into int-flags (diff)
downloadyuzu-302a5f00e845cdbf9f95d713e4ab23165d71bdc5.tar.gz
yuzu-302a5f00e845cdbf9f95d713e4ab23165d71bdc5.tar.xz
yuzu-302a5f00e845cdbf9f95d713e4ab23165d71bdc5.zip
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:
465 return operands.size(); 465 return operands.size();
466 } 466 }
467 467
468 NodeBlock& GetOperands() {
469 return operands;
470 }
471
472 const NodeBlock& GetOperands() const {
473 return operands;
474 }
475
468 [[nodiscard]] const Node& operator[](std::size_t operand_index) const { 476 [[nodiscard]] const Node& operator[](std::size_t operand_index) const {
469 return operands.at(operand_index); 477 return operands.at(operand_index);
470 } 478 }