diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-01-16 04:43:06 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-03-25 01:51:51 +0100 |
commit | ecb3342145780d811017a3a3c8f14f3e0725db75 (patch) | |
tree | 2badf5f2b54a90cc3803d63f9f013c6abe1a6a2d /src/video_core/texture_cache/image_base.h | |
parent | Merge pull request #8074 from liamwhite/cached-words (diff) | |
download | yuzu-ecb3342145780d811017a3a3c8f14f3e0725db75.tar yuzu-ecb3342145780d811017a3a3c8f14f3e0725db75.tar.gz yuzu-ecb3342145780d811017a3a3c8f14f3e0725db75.tar.bz2 yuzu-ecb3342145780d811017a3a3c8f14f3e0725db75.tar.lz yuzu-ecb3342145780d811017a3a3c8f14f3e0725db75.tar.xz yuzu-ecb3342145780d811017a3a3c8f14f3e0725db75.tar.zst yuzu-ecb3342145780d811017a3a3c8f14f3e0725db75.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/image_base.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.h index 89c111c00..279f39269 100644 --- a/src/video_core/texture_cache/image_base.h +++ b/src/video_core/texture_cache/image_base.h @@ -29,15 +29,16 @@ enum class ImageFlagBits : u32 { Sparse = 1 << 9, ///< Image has non continous submemory. // Garbage Collection Flags - BadOverlap = 1 << 10, ///< This image overlaps other but doesn't fit, has higher - ///< garbage collection priority - Alias = 1 << 11, ///< This image has aliases and has priority on garbage - ///< collection + BadOverlap = 1 << 10, ///< This image overlaps other but doesn't fit, has higher + ///< garbage collection priority + Alias = 1 << 11, ///< This image has aliases and has priority on garbage + ///< collection + GCProtected = 1 << 12, ///< Protected from low-tier GC as they are costy to load back. // Rescaler - Rescaled = 1 << 12, - CheckingRescalable = 1 << 13, - IsRescalable = 1 << 14, + Rescaled = 1 << 13, + CheckingRescalable = 1 << 14, + IsRescalable = 1 << 15, }; DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits) |