summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNguyen Dac Nam <nam.kazt.91@gmail.com>2020-04-07 13:29:30 +0200
committerGitHub <noreply@github.com>2020-04-07 13:29:30 +0200
commit935648ffa9fbb1a6b439d1199a7742795f20dd40 (patch)
treeaabd1e30b1456611ac15fd1908c7f3f601bb969e
parentApply suggestions from code review (diff)
downloadyuzu-935648ffa9fbb1a6b439d1199a7742795f20dd40.tar
yuzu-935648ffa9fbb1a6b439d1199a7742795f20dd40.tar.gz
yuzu-935648ffa9fbb1a6b439d1199a7742795f20dd40.tar.bz2
yuzu-935648ffa9fbb1a6b439d1199a7742795f20dd40.tar.lz
yuzu-935648ffa9fbb1a6b439d1199a7742795f20dd40.tar.xz
yuzu-935648ffa9fbb1a6b439d1199a7742795f20dd40.tar.zst
yuzu-935648ffa9fbb1a6b439d1199a7742795f20dd40.zip
-rw-r--r--src/video_core/shader/decode/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/image.cpp b/src/video_core/shader/decode/image.cpp
index 4e796c79c..0dd7a1196 100644
--- a/src/video_core/shader/decode/image.cpp
+++ b/src/video_core/shader/decode/image.cpp
@@ -291,7 +291,7 @@ std::pair<Node, bool> ShaderIR::GetComponentValue(ComponentType component_type,
is_signed};
}
case ComponentType::UINT: // range [0, (1 << component_size) - 1]
- return {original_value, false};
+ return {std::move(original_value), false};
case ComponentType::FLOAT:
if (component_size == 16) {
return {Operation(OperationCode::HCastFloat, original_value), true};