mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 15:22:45 +01:00
fix warning
This commit is contained in:
parent
a8508f2bc0
commit
a2c2c5768f
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ u32 ShaderIR::DecodeConversion(NodeBlock& bb, u32 pc) {
|
||||||
|
|
||||||
const bool input_signed = instr.conversion.is_input_signed;
|
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 ||
|
ASSERT(instr.conversion.src_size == Register::Size::Byte ||
|
||||||
instr.conversion.src_size == Register::Size::Short);
|
instr.conversion.src_size == Register::Size::Short);
|
||||||
value = SignedOperation(OperationCode::ILogicalShiftRight, input_signed,
|
value = SignedOperation(OperationCode::ILogicalShiftRight, input_signed,
|
||||||
|
|
Loading…
Reference in a new issue