diff options
| author | 2023-05-31 12:42:34 -0400 | |
|---|---|---|
| committer | 2024-02-11 13:41:13 -0500 | |
| commit | de8a62393249e944f68eb3e73330537af02a6b0b (patch) | |
| tree | 7642555fbfb8370edb74496e819e3bbfbce45031 /src/video_core/surface.h | |
| parent | caches: make critical reclamation less eager and possible in more cases (diff) | |
| download | yuzu-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.h | 2 |
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 | ||
| 518 | std::pair<u32, u32> GetASTCBlockSize(PixelFormat format); | 518 | std::pair<u32, u32> GetASTCBlockSize(PixelFormat format); |
| 519 | 519 | ||
| 520 | u64 EstimatedDecompressedSize(u64 base_size, PixelFormat format); | 520 | u64 TranscodedAstcSize(u64 base_size, PixelFormat format); |
| 521 | 521 | ||
| 522 | } // namespace VideoCore::Surface | 522 | } // namespace VideoCore::Surface |