diff options
| author | 2021-01-22 21:57:14 -0800 | |
|---|---|---|
| committer | 2021-01-22 21:57:14 -0800 | |
| commit | 302a5f00e845cdbf9f95d713e4ab23165d71bdc5 (patch) | |
| tree | 32388343658d3f7191e856334de496e2b3cec41e /src/video_core/shader/node.h | |
| parent | Merge pull request #5765 from ogniK5377/StoreSaveDataThumbnail-stub (diff) | |
| parent | Merge remote-tracking branch 'upstream/master' into int-flags (diff) | |
| download | yuzu-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.h | 8 |
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 | } |