Skip to content
Snippets Groups Projects
Unverified Commit 7fa91778 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

gl_shader_decompiler: Add a return path for unknown instructions.

parent 84cadf99
No related branches found
No related tags found
No related merge requests found
......@@ -811,6 +811,7 @@ private:
if (!opcode) {
NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {0:x}", instr.value);
UNREACHABLE();
return offset + 1;
}
shader.AddLine("// " + std::to_string(offset) + ": " + opcode->GetName());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment