diff options
author | Nguyen Dac Nam <nam.kazt.91@gmail.com> | 2020-02-19 05:02:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 05:02:59 +0100 |
commit | a8508f2bc054ba7ec41951b9fd0d638d3c9a8491 (patch) | |
tree | 78e5a893af207e13755b9248a123acadc190efa5 /src/video_core/shader/decode | |
parent | shader_conversion: add conversion I2F for Short (diff) | |
download | yuzu-a8508f2bc054ba7ec41951b9fd0d638d3c9a8491.tar yuzu-a8508f2bc054ba7ec41951b9fd0d638d3c9a8491.tar.gz yuzu-a8508f2bc054ba7ec41951b9fd0d638d3c9a8491.tar.bz2 yuzu-a8508f2bc054ba7ec41951b9fd0d638d3c9a8491.tar.lz yuzu-a8508f2bc054ba7ec41951b9fd0d638d3c9a8491.tar.xz yuzu-a8508f2bc054ba7ec41951b9fd0d638d3c9a8491.tar.zst yuzu-a8508f2bc054ba7ec41951b9fd0d638d3c9a8491.zip |
Diffstat (limited to 'src/video_core/shader/decode')
-rw-r--r-- | src/video_core/shader/decode/conversion.cpp | 2 |
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 6307d1524..fbbaab584 100644 --- a/src/video_core/shader/decode/conversion.cpp +++ b/src/video_core/shader/decode/conversion.cpp @@ -89,7 +89,7 @@ u32 ShaderIR::DecodeConversion(NodeBlock& bb, u32 pc) { value = SignedOperation(OperationCode::ILogicalShiftRight, input_signed, std::move(value), Immediate(offset * 8)); } - + value = ConvertIntegerSize(value, instr.conversion.src_size, input_signed); value = GetOperandAbsNegInteger(value, instr.conversion.abs_a, false, input_signed); value = SignedOperation(OperationCode::FCastInteger, input_signed, PRECISE, value); |