diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-10-18 22:56:36 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:31 +0100 |
commit | 3b61de74e6dc7526ffa8f03c21d81e2c3566ce90 (patch) | |
tree | 4f97e24ed00d7e46564e6aa8ecd3c05d6f6525ff /src/video_core/texture_cache/image_base.h | |
parent | Texture Cache: ease the requirements of textures being blacklisted. (diff) | |
download | yuzu-3b61de74e6dc7526ffa8f03c21d81e2c3566ce90.tar yuzu-3b61de74e6dc7526ffa8f03c21d81e2c3566ce90.tar.gz yuzu-3b61de74e6dc7526ffa8f03c21d81e2c3566ce90.tar.bz2 yuzu-3b61de74e6dc7526ffa8f03c21d81e2c3566ce90.tar.lz yuzu-3b61de74e6dc7526ffa8f03c21d81e2c3566ce90.tar.xz yuzu-3b61de74e6dc7526ffa8f03c21d81e2c3566ce90.tar.zst yuzu-3b61de74e6dc7526ffa8f03c21d81e2c3566ce90.zip |
Diffstat (limited to 'src/video_core/texture_cache/image_base.h')
-rw-r--r-- | src/video_core/texture_cache/image_base.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.h index cd4b5f636..02c669766 100644 --- a/src/video_core/texture_cache/image_base.h +++ b/src/video_core/texture_cache/image_base.h @@ -77,8 +77,8 @@ struct ImageBase { void CheckBadOverlapState(); void CheckAliasState(); - bool HasScaled() { - return scale_count > 0; + bool HasScaled() const { + return has_scaled; } ImageInfo info; @@ -88,7 +88,7 @@ struct ImageBase { u32 converted_size_bytes = 0; u32 scale_rating = 0; u64 scale_tick = 0; - u32 scale_count = 0; + bool has_scaled = false; ImageFlagBits flags = ImageFlagBits::CpuModified; GPUVAddr gpu_addr = 0; |