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 committed 2017-03-03 14:19:36 +01:00
1 parent 5d4700ae7e
commit a272a4ee3f
4 files changed
+15 -10

No files matched your search

+1 -1
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());
}
}
}