diff options
| author | flacs <tilkax@gmail.com> | 2015-07-08 22:23:53 +0200 |
|---|---|---|
| committer | flacs <tilkax@gmail.com> | 2015-07-08 22:23:53 +0200 |
| commit | 638b108f44a55619c07c1ba2eeafae040743b145 (patch) | |
| tree | 3784864a6f7b4b9fe123fdd78cc33917d4ea46e2 /Source/Core/VideoCommon/VertexShaderGen.cpp | |
| parent | 2079963d80af9a45ae91c7f09590806992c295fa (diff) | |
| parent | b3a0b6def442561e768eeeceaea356b0294d5401 (diff) | |
Merge pull request #2727 from JMC47/PanicAlerts
Disables assert messages that seem to be invalid.
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderGen.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp index 97ac15e887..b495e62a93 100644 --- a/Source/Core/VideoCommon/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/VertexShaderGen.cpp @@ -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); } |
