Improve error message on vertex decoder compile fail. Also disable a broken vertex JIT function until it can be fixed.

This commit is contained in:
Henrik Rydgard 2017-03-03 14:11:17 +01:00
parent 5d4700ae7e
commit a272a4ee3f
4 changed files with 15 additions and 10 deletions

View file

@ -1248,7 +1248,7 @@ void VertexDecoder::SetVertexType(u32 fmt, const VertexDecoderOptions &options,
if (jitCache && g_Config.bVertexDecoderJit) {
jitted_ = jitCache->Compile(*this, &jittedSize_);
if (!jitted_) {
WARN_LOG(G3D, "Vertex decoder JIT failed! fmt = %08x", fmt_);
WARN_LOG(G3D, "Vertex decoder JIT failed! fmt = %08x (%s)", fmt_, GetString(SHADER_STRING_SHORT_DESC).c_str());
}
}
}