mirror of https://github.com/PCSX2/pcsx2.git
GS-HW: Always preload new frames for PCRTC if none found.
This commit is contained in:
parent
7bfea60b35
commit
a6212f1388
|
@ -700,7 +700,7 @@ GSTextureCache::Target* GSTextureCache::LookupTarget(const GIFRegTEX0& TEX0, con
|
||||||
// From a performance point of view, it might cost a little on big upscaling
|
// From a performance point of view, it might cost a little on big upscaling
|
||||||
// but normally few RT are miss so it must remain reasonable.
|
// but normally few RT are miss so it must remain reasonable.
|
||||||
bool supported_fmt = !GSConfig.UserHacks_DisableDepthSupport || psm_s.depth == 0;
|
bool supported_fmt = !GSConfig.UserHacks_DisableDepthSupport || psm_s.depth == 0;
|
||||||
if (preload && TEX0.TBW > 0 && supported_fmt)
|
if ((is_frame || preload) && TEX0.TBW > 0 && supported_fmt)
|
||||||
{
|
{
|
||||||
GL_INS("Preloading the RT DATA");
|
GL_INS("Preloading the RT DATA");
|
||||||
// RT doesn't have height but if we use a too big value, we will read outside of the GS memory.
|
// RT doesn't have height but if we use a too big value, we will read outside of the GS memory.
|
||||||
|
|
Loading…
Reference in New Issue