aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/image_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/texture_cache/image_base.h')
-rw-r--r--src/video_core/texture_cache/image_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.h
index 20d3883130..cfb839d17e 100644
--- a/src/video_core/texture_cache/image_base.h
+++ b/src/video_core/texture_cache/image_base.h
@@ -50,6 +50,9 @@ enum class ImageFlagBits : u32 {
/// in VRAM); uploads skip the rest, downloads are never done.
TrimmedLevels = 1 << 19,
ZeroFilled = 1 << 20, ///< Cleared to zero blocks before its first asynchronous decode.
+ /// Over Switch 2 sparse blocks nobody wrote: all zeros, so the host image has no memory
+ /// (Unbacked) until the first write, which makes a backed image replace it.
+ UnwrittenSparse = 1 << 21,
};
DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits)