|
|
@ -43,12 +43,12 @@ u32 ShaderIR::DecodeArithmetic(NodeBlock& bb, u32 pc) {
|
|
|
|
case OpCode::Id::FMUL_IMM: {
|
|
|
|
case OpCode::Id::FMUL_IMM: {
|
|
|
|
// FMUL does not have 'abs' bits and only the second operand has a 'neg' bit.
|
|
|
|
// FMUL does not have 'abs' bits and only the second operand has a 'neg' bit.
|
|
|
|
if (instr.fmul.tab5cb8_2 != 0) {
|
|
|
|
if (instr.fmul.tab5cb8_2 != 0) {
|
|
|
|
LOG_WARNING(HW_GPU, "FMUL tab5cb8_2({}) is not implemented",
|
|
|
|
LOG_DEBUG(HW_GPU, "FMUL tab5cb8_2({}) is not implemented",
|
|
|
|
instr.fmul.tab5cb8_2.Value());
|
|
|
|
instr.fmul.tab5cb8_2.Value());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (instr.fmul.tab5c68_0 != 1) {
|
|
|
|
if (instr.fmul.tab5c68_0 != 1) {
|
|
|
|
LOG_WARNING(HW_GPU, "FMUL tab5cb8_0({}) is not implemented",
|
|
|
|
LOG_DEBUG(HW_GPU, "FMUL tab5cb8_0({}) is not implemented",
|
|
|
|
instr.fmul.tab5c68_0.Value());
|
|
|
|
instr.fmul.tab5c68_0.Value());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
op_b = GetOperandAbsNegFloat(op_b, false, instr.fmul.negate_b);
|
|
|
|
op_b = GetOperandAbsNegFloat(op_b, false, instr.fmul.negate_b);
|
|
|
|