Disables assert messages that seem to be invalid.

This commit is contained in:
Justin Chadwick 2015-07-08 16:06:11 -04:00
parent 2079963d80
commit b3a0b6def4
1 changed files with 4 additions and 2 deletions

View File

@ -241,7 +241,8 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ
switch (texinfo.sourcerow)
{
case XF_SRCGEOM_INROW:
_assert_(texinfo.inputform == XF_TEXINPUT_ABC1);
// The following assert was triggered in Super Smash Bros. Project M 3.6.
//_assert_(texinfo.inputform == XF_TEXINPUT_ABC1);
out.Write("coord = rawpos;\n"); // pos.w is 1
break;
case XF_SRCNORMAL_INROW:
@ -291,7 +292,8 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ
}
else
{
_assert_(0); // should have normals
// The following assert was triggered in House of the Dead Overkill and Star Wars Rogue Squadron 2
//_assert_(0); // should have normals
uid_data->texMtxInfo[i].embosssourceshift = xfmem.texMtxInfo[i].embosssourceshift;
out.Write("o.tex%d.xyz = o.tex%d.xyz;\n", i, texinfo.embosssourceshift);
}