summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorLevi Behunin <l3ehunin@gmail.com>2020-09-25 05:52:23 +0200
committerLevi Behunin <l3ehunin@gmail.com>2020-09-25 05:52:23 +0200
commita19dc3bf00bb031120805b1e40fe0a3a455648b7 (patch)
tree01d5cf26bdc0cbe96544b6b59a290fba8efbb33e /src/video_core/shader/node.h
parentStart of Integer flags implementation (diff)
downloadyuzu-a19dc3bf00bb031120805b1e40fe0a3a455648b7.tar
yuzu-a19dc3bf00bb031120805b1e40fe0a3a455648b7.tar.gz
yuzu-a19dc3bf00bb031120805b1e40fe0a3a455648b7.tar.bz2
yuzu-a19dc3bf00bb031120805b1e40fe0a3a455648b7.tar.lz
yuzu-a19dc3bf00bb031120805b1e40fe0a3a455648b7.tar.xz
yuzu-a19dc3bf00bb031120805b1e40fe0a3a455648b7.tar.zst
yuzu-a19dc3bf00bb031120805b1e40fe0a3a455648b7.zip
Diffstat (limited to 'src/video_core/shader/node.h')
-rw-r--r--src/video_core/shader/node.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h
index 11a8a3f70..1b19a0673 100644
--- a/src/video_core/shader/node.h
+++ b/src/video_core/shader/node.h
@@ -464,7 +464,11 @@ public:
return operands.size();
}
- NodeBlock GetOperands() const {
+ NodeBlock& GetOperands() {
+ return operands;
+ }
+
+ const NodeBlock& GetOperands() const {
return operands;
}