diff options
| author | bunnei <bunneidev@gmail.com> | 2022-03-24 20:16:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-24 20:16:11 -0700 |
| commit | ab6a5784fa991016b5d8c097471fbda88853ba5d (patch) | |
| tree | 407ed36099630b4e52bcd727e799d8f22bb43c24 /src/video_core/texture_cache/image_base.h | |
| parent | 0608336c60c62b74af73422115ee0e0797362e8f (diff) | |
| parent | 9872d4bc4f78fea478e7db4d5a04208cb8a871fa (diff) | |
Merge pull request #7720 from FernandoS27/yfc-gc
First Nugget: Reworked Garbage Collection to be smarter [originally from Project YFC]
Diffstat (limited to 'src/video_core/texture_cache/image_base.h')
| -rw-r--r-- | src/video_core/texture_cache/image_base.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.h index 89c111c00..dd0106432 100644 --- a/src/video_core/texture_cache/image_base.h +++ b/src/video_core/texture_cache/image_base.h @@ -33,11 +33,12 @@ enum class ImageFlagBits : u32 { ///< garbage collection priority Alias = 1 << 11, ///< This image has aliases and has priority on garbage ///< collection + CostlyLoad = 1 << 12, ///< Protected from low-tier GC as it is costly 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) |
