This commit is contained in:
Nguyen Dac Nam 2020-03-14 09:57:24 +07:00 committed by GitHub
parent 00607fe1e0
commit 240d45830d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ u32 ShaderIR::DecodeBfe(NodeBlock& bb, u32 pc) {
Immediate(0), Immediate(8)); Immediate(0), Immediate(8));
const auto bits = SignedOperation(OperationCode::IBitfieldExtract, is_signed, op_b, const auto bits = SignedOperation(OperationCode::IBitfieldExtract, is_signed, op_b,
Immediate(8), Immediate(8)); Immediate(8), Immediate(8));
const auto result = auto result =
SignedOperation(OperationCode::IBitfieldExtract, is_signed, op_a, offset, bits); SignedOperation(OperationCode::IBitfieldExtract, is_signed, op_a, offset, bits);
SetRegister(bb, instr.gpr0, std::move(result)); SetRegister(bb, instr.gpr0, std::move(result));