summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.h
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2026-01-18 13:33:14 -0500
committerGitHub <noreply@github.com>2026-01-18 13:33:14 -0500
commitf8b47c031fc7dc506fe1d0f7fed21a2cd2f8000f (patch)
tree5743cfa77eca4f06d57289393b0f4d30df6cfe58 /Source/Core/VideoCommon/TextureCacheBase.h
parentd8e123a70cefa176febba1f4e720ba276ba81a92 (diff)
parentfb07406f102eaa2d237c95c35e8853680d902b6a (diff)
Merge pull request #14291 from JosJuice/defer-textureinfo
VideoCommon: Defer creating TextureInfo
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h
index 9a95400679..1aa67dede5 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.h
+++ b/Source/Core/VideoCommon/TextureCacheBase.h
@@ -277,7 +277,7 @@ public:
void Invalidate();
void ReleaseToPool(TCacheEntry* entry);
- TCacheEntry* Load(const TextureInfo& texture_info);
+ TCacheEntry* Load(u32 stage);
RcTcacheEntry GetTexture(const int textureCacheSafetyColorSampleSize,
const TextureInfo& texture_info);
RcTcacheEntry GetXFBTexture(u32 address, u32 width, u32 height, u32 stride,
@@ -346,7 +346,7 @@ private:
static bool DidLinkedAssetsChange(const TCacheEntry& entry);
- TCacheEntry* LoadImpl(const TextureInfo& texture_info, bool force_reload);
+ TCacheEntry* LoadImpl(u32 stage, bool force_reload);
bool CreateUtilityTextures();