mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 13:20:08 +00:00
gl_shader_decompiler: Cleanup log statements.
This commit is contained in:
parent
0d408b965b
commit
eabeedf6af
@ -158,7 +158,7 @@ private:
|
|||||||
return "input_attribute_" + std::to_string(index);
|
return "input_attribute_" + std::to_string(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_ERROR(HW_GPU, "Unhandled input attribute: 0x%02x", index);
|
LOG_CRITICAL(HW_GPU, "Unhandled input attribute: 0x%02x", index);
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ private:
|
|||||||
return "output_attribute_" + std::to_string(index);
|
return "output_attribute_" + std::to_string(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_ERROR(HW_GPU, "Unhandled output attribute: 0x%02x", index);
|
LOG_CRITICAL(HW_GPU, "Unhandled output attribute: 0x%02x", index);
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -267,9 +267,9 @@ private:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
LOG_ERROR(HW_GPU, "Unhandled arithmetic instruction: 0x%02x (%s): 0x%08x",
|
LOG_CRITICAL(HW_GPU, "Unhandled arithmetic instruction: 0x%02x (%s): 0x%08x",
|
||||||
(int)instr.opcode.EffectiveOpCode(), OpCode::GetInfo(instr.opcode).name,
|
static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
|
||||||
instr.hex);
|
OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex);
|
||||||
throw DecompileFail("Unhandled instruction");
|
throw DecompileFail("Unhandled instruction");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -296,9 +296,9 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
LOG_ERROR(HW_GPU, "Unhandled arithmetic FFMA instruction: 0x%02x (%s): 0x%08x",
|
LOG_CRITICAL(HW_GPU, "Unhandled arithmetic FFMA instruction: 0x%02x (%s): 0x%08x",
|
||||||
(int)instr.opcode.EffectiveOpCode(), OpCode::GetInfo(instr.opcode).name,
|
static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
|
||||||
instr.hex);
|
OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex);
|
||||||
throw DecompileFail("Unhandled instruction");
|
throw DecompileFail("Unhandled instruction");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -321,9 +321,9 @@ private:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
LOG_ERROR(HW_GPU, "Unhandled memory instruction: 0x%02x (%s): 0x%08x",
|
LOG_CRITICAL(HW_GPU, "Unhandled memory instruction: 0x%02x (%s): 0x%08x",
|
||||||
(int)instr.opcode.EffectiveOpCode(), OpCode::GetInfo(instr.opcode).name,
|
static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
|
||||||
instr.hex);
|
OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex);
|
||||||
throw DecompileFail("Unhandled instruction");
|
throw DecompileFail("Unhandled instruction");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -340,10 +340,10 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
LOG_ERROR(HW_GPU, "Unhandled instruction: 0x%02x (%s): 0x%08x",
|
LOG_CRITICAL(HW_GPU, "Unhandled instruction: 0x%02x (%s): 0x%08x",
|
||||||
(int)instr.opcode.EffectiveOpCode(),
|
static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
|
||||||
OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex);
|
OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex);
|
||||||
// throw DecompileFail("Unhandled instruction");
|
throw DecompileFail("Unhandled instruction");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user