mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Don't preload large framebuffer alpha textures
This commit is contained in:
parent
abce57ce9c
commit
63a141abe6
|
@ -3701,7 +3701,7 @@ GSTextureCache::HashCacheEntry* GSTextureCache::LookupHashCache(const GIFRegTEX0
|
||||||
const bool dump = GSConfig.DumpReplaceableTextures && (!FMVstarted || GSConfig.DumpTexturesWithFMVActive) &&
|
const bool dump = GSConfig.DumpReplaceableTextures && (!FMVstarted || GSConfig.DumpTexturesWithFMVActive) &&
|
||||||
(clut ? GSConfig.DumpPaletteTextures : GSConfig.DumpDirectTextures);
|
(clut ? GSConfig.DumpPaletteTextures : GSConfig.DumpDirectTextures);
|
||||||
const bool replace = GSConfig.LoadTextureReplacements && GSTextureReplacements::HasAnyReplacementTextures();
|
const bool replace = GSConfig.LoadTextureReplacements && GSTextureReplacements::HasAnyReplacementTextures();
|
||||||
bool can_cache = CanCacheTextureSize(TEX0.TW, TEX0.TH);
|
bool can_cache = (TEX0.PSM >= PSMT8H && TEX0.PSM <= PSMT4HH) ? CanPreloadTextureSize(TEX0.TW, TEX0.TH) : CanCacheTextureSize(TEX0.TW, TEX0.TH);
|
||||||
if (!dump && !replace && !can_cache)
|
if (!dump && !replace && !can_cache)
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue