mirror of https://github.com/PCSX2/pcsx2.git
gsdx tc: skip draw call when input texture can't be fetched
Avoid garbage on Full Spectrum Warrior
This commit is contained in:
parent
2f972b91a3
commit
87fc4c1e44
|
@ -174,6 +174,12 @@ GSTextureCache::Source* GSTextureCache::LookupDepthSource(const GIFRegTEX0& TEX0
|
|||
// Note: might worth to check previous frame
|
||||
// Note: otherwise return NULL and skip the draw
|
||||
|
||||
// Full Spectrum Warrior: first draw call of cut-scene rendering
|
||||
// The game tries to emulate a texture shuffle with an old depth buffer
|
||||
// (don't exists yet for us due to the cache)
|
||||
// Rendering is nicer (less garbage) if we skip the draw call.
|
||||
throw GSDXRecoverableError();
|
||||
|
||||
//ASSERT(0);
|
||||
return LookupSource(TEX0, TEXA, r);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue