summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/image_base.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-03-25 17:09:40 +0100
committerGitHub <noreply@github.com>2022-03-25 17:09:40 +0100
commitda46d924e9953a6934c43e33e068023b405ecbcb (patch)
tree2a5ad33409771c951997186c5665b60a96fa4205 /src/video_core/texture_cache/image_base.h
parentMerge pull request #7720 from FernandoS27/yfc-gc (diff)
parentMemory: Don't protect reads on Normal accuracy. (diff)
downloadyuzu-da46d924e9953a6934c43e33e068023b405ecbcb.tar
yuzu-da46d924e9953a6934c43e33e068023b405ecbcb.tar.gz
yuzu-da46d924e9953a6934c43e33e068023b405ecbcb.tar.bz2
yuzu-da46d924e9953a6934c43e33e068023b405ecbcb.tar.lz
yuzu-da46d924e9953a6934c43e33e068023b405ecbcb.tar.xz
yuzu-da46d924e9953a6934c43e33e068023b405ecbcb.tar.zst
yuzu-da46d924e9953a6934c43e33e068023b405ecbcb.zip
Diffstat (limited to '')
-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 dd0106432..cc7999027 100644
--- a/src/video_core/texture_cache/image_base.h
+++ b/src/video_core/texture_cache/image_base.h
@@ -39,6 +39,9 @@ enum class ImageFlagBits : u32 {
Rescaled = 1 << 13,
CheckingRescalable = 1 << 14,
IsRescalable = 1 << 15,
+
+ // Cached CPU
+ CachedCpuModified = 1 << 16, ///< Contents have been modified from the CPU
};
DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits)