diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-22 23:35:58 +0200 |
---|---|---|
committer | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-05-23 08:01:55 +0200 |
commit | b6dcb1ae4d95b8fe83357709526ed07c9b923652 (patch) | |
tree | c1f9c5abe823f0653d5a48fdffbc7993d28d3893 /src/video_core/shader/shader_ir.cpp | |
parent | shader/decode/*: Add missing newline to files lacking them (diff) | |
download | yuzu-b6dcb1ae4d95b8fe83357709526ed07c9b923652.tar yuzu-b6dcb1ae4d95b8fe83357709526ed07c9b923652.tar.gz yuzu-b6dcb1ae4d95b8fe83357709526ed07c9b923652.tar.bz2 yuzu-b6dcb1ae4d95b8fe83357709526ed07c9b923652.tar.lz yuzu-b6dcb1ae4d95b8fe83357709526ed07c9b923652.tar.xz yuzu-b6dcb1ae4d95b8fe83357709526ed07c9b923652.tar.zst yuzu-b6dcb1ae4d95b8fe83357709526ed07c9b923652.zip |
Diffstat (limited to 'src/video_core/shader/shader_ir.cpp')
-rw-r--r-- | src/video_core/shader/shader_ir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.cpp b/src/video_core/shader/shader_ir.cpp index 153ad1fd0..8a6ee5cf5 100644 --- a/src/video_core/shader/shader_ir.cpp +++ b/src/video_core/shader/shader_ir.cpp @@ -39,8 +39,8 @@ Node ShaderIR::Conditional(Node condition, std::vector<Node>&& code) { return StoreNode(ConditionalNode(condition, std::move(code))); } -Node ShaderIR::Comment(const std::string& text) { - return StoreNode(CommentNode(text)); +Node ShaderIR::Comment(std::string text) { + return StoreNode(CommentNode(std::move(text))); } Node ShaderIR::Immediate(u32 value) { |