Browse Source

gl_shader_decompiler: Add a return path for unknown instructions.

nce_cpp
bunnei 8 years ago
committed by GitHub
parent
commit
147286048e
  1. 1
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

1
src/video_core/renderer_opengl/gl_shader_decompiler.cpp

@ -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());

Loading…
Cancel
Save