mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
gl_shader_decompiler: Add a return path for unknown instructions.
This commit is contained in:
parent
84cadf9918
commit
7fa9177830
@ -811,6 +811,7 @@ private:
|
|||||||
if (!opcode) {
|
if (!opcode) {
|
||||||
NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {0:x}", instr.value);
|
NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {0:x}", instr.value);
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
|
return offset + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
shader.AddLine("// " + std::to_string(offset) + ": " + opcode->GetName());
|
shader.AddLine("// " + std::to_string(offset) + ": " + opcode->GetName());
|
||||||
|
Loading…
Reference in New Issue
Block a user