summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorNguyen Dac Nam <nam.kazt.91@gmail.com>2020-02-19 05:10:26 +0100
committerGitHub <noreply@github.com>2020-02-19 05:10:26 +0100
commita2c2c5768f91c8083c4ac0cb0405be3c28e33f8a (patch)
treea5df21942ed81b80d15d766d440873e040d96009 /src/video_core
parentclang-format fix (diff)
downloadyuzu-a2c2c5768f91c8083c4ac0cb0405be3c28e33f8a.tar
yuzu-a2c2c5768f91c8083c4ac0cb0405be3c28e33f8a.tar.gz
yuzu-a2c2c5768f91c8083c4ac0cb0405be3c28e33f8a.tar.bz2
yuzu-a2c2c5768f91c8083c4ac0cb0405be3c28e33f8a.tar.lz
yuzu-a2c2c5768f91c8083c4ac0cb0405be3c28e33f8a.tar.xz
yuzu-a2c2c5768f91c8083c4ac0cb0405be3c28e33f8a.tar.zst
yuzu-a2c2c5768f91c8083c4ac0cb0405be3c28e33f8a.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/shader/decode/conversion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/conversion.cpp b/src/video_core/shader/decode/conversion.cpp
index fbbaab584..7da857af5 100644
--- a/src/video_core/shader/decode/conversion.cpp
+++ b/src/video_core/shader/decode/conversion.cpp
@@ -83,7 +83,7 @@ u32 ShaderIR::DecodeConversion(NodeBlock& bb, u32 pc) {
const bool input_signed = instr.conversion.is_input_signed;
- if (const u32 offset = instr.conversion.int_src.selector; offset > 0) {
+ if (const u32 offset = static_cast<u32>(instr.conversion.int_src.selector); offset > 0) {
ASSERT(instr.conversion.src_size == Register::Size::Byte ||
instr.conversion.src_size == Register::Size::Short);
value = SignedOperation(OperationCode::ILogicalShiftRight, input_signed,