diff options
| author | 2020-09-24 16:40:06 -0600 | |
|---|---|---|
| committer | 2020-09-24 16:40:06 -0600 | |
| commit | d53b79ff5ca37d5110034e73e50b2fe35c3868ee (patch) | |
| tree | be721bef251f8cb6b2d7a8e4333a35ff8fe8ff18 /src/video_core/shader/node.h | |
| parent | Merge pull request #4678 from Morph1984/LoadOpenContext-partial-impl (diff) | |
| download | yuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.tar.gz yuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.tar.xz yuzu-d53b79ff5ca37d5110034e73e50b2fe35c3868ee.zip | |
Start of Integer flags implementation
Diffstat (limited to 'src/video_core/shader/node.h')
| -rw-r--r-- | src/video_core/shader/node.h | 4 |
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: | |||
| 464 | return operands.size(); | 464 | return operands.size(); |
| 465 | } | 465 | } |
| 466 | 466 | ||
| 467 | NodeBlock GetOperands() const { | ||
| 468 | return operands; | ||
| 469 | } | ||
| 470 | |||
| 467 | const Node& operator[](std::size_t operand_index) const { | 471 | const Node& operator[](std::size_t operand_index) const { |
| 468 | return operands.at(operand_index); | 472 | return operands.at(operand_index); |
| 469 | } | 473 | } |