summaryrefslogtreecommitdiff
path: root/src/video_core/surface.h
diff options
context:
space:
mode:
authorGravatar Liam2023-05-31 12:42:34 -0400
committerGravatar Liam2024-02-11 13:41:13 -0500
commitde8a62393249e944f68eb3e73330537af02a6b0b (patch)
tree7642555fbfb8370edb74496e819e3bbfbce45031 /src/video_core/surface.h
parentcaches: make critical reclamation less eager and possible in more cases (diff)
downloadyuzu-de8a62393249e944f68eb3e73330537af02a6b0b.tar.gz
yuzu-de8a62393249e944f68eb3e73330537af02a6b0b.tar.xz
yuzu-de8a62393249e944f68eb3e73330537af02a6b0b.zip
texture_cache: avoid overestimation of ASTC texture sizes
Diffstat (limited to 'src/video_core/surface.h')
-rw-r--r--src/video_core/surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h
index a5e8e2f62..ec9cd2fbf 100644
--- a/src/video_core/surface.h
+++ b/src/video_core/surface.h
@@ -517,6 +517,6 @@ size_t PixelComponentSizeBitsInteger(PixelFormat format);
517 517
518std::pair<u32, u32> GetASTCBlockSize(PixelFormat format); 518std::pair<u32, u32> GetASTCBlockSize(PixelFormat format);
519 519
520u64 EstimatedDecompressedSize(u64 base_size, PixelFormat format); 520u64 TranscodedAstcSize(u64 base_size, PixelFormat format);
521 521
522} // namespace VideoCore::Surface 522} // namespace VideoCore::Surface