Add special texture hashing mode solving the Tag Force problem.

Don't want to build some complicated rule-based thing until we have more
use cases, so this is quite specialized.

See #19714
This commit is contained in:
Henrik Rydgård committed 2024-12-10 19:24:20 +01:00
1 parent 61d2459e94
commit ec19c47b89
4 files changed
+10 -3

No files matched your search

-2
View File
@@ -652,8 +652,6 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry) {
}
// Format might be wrong in lowMemoryMode_, so don't save.
if (plan.saveTexture && !lowMemoryMode_) {
INFO_LOG(Log::G3D, "Calling NotifyTextureDecoded %08x", entry->addr);
// When hardware texture scaling is enabled, this saves the original.
int w = dataScaled ? mipWidth : mipUnscaledWidth;
int h = dataScaled ? mipHeight : mipUnscaledHeight;