summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/texture_cache_base.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-11-17 00:56:40 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-11-17 04:32:46 +0100
commit20ed7ba4417a165f3af41d93a0e838c057c81c84 (patch)
treee25bbbed8d0bec10ca004ed3843c1c916ea55d20 /src/video_core/texture_cache/texture_cache_base.h
parentgl_texture_cache: Make FormatConversionPass more generic (diff)
downloadyuzu-20ed7ba4417a165f3af41d93a0e838c057c81c84.tar
yuzu-20ed7ba4417a165f3af41d93a0e838c057c81c84.tar.gz
yuzu-20ed7ba4417a165f3af41d93a0e838c057c81c84.tar.bz2
yuzu-20ed7ba4417a165f3af41d93a0e838c057c81c84.tar.lz
yuzu-20ed7ba4417a165f3af41d93a0e838c057c81c84.tar.xz
yuzu-20ed7ba4417a165f3af41d93a0e838c057c81c84.tar.zst
yuzu-20ed7ba4417a165f3af41d93a0e838c057c81c84.zip
Diffstat (limited to 'src/video_core/texture_cache/texture_cache_base.h')
-rw-r--r--src/video_core/texture_cache/texture_cache_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/texture_cache_base.h b/src/video_core/texture_cache/texture_cache_base.h
index 643ad811c..a9504c0e8 100644
--- a/src/video_core/texture_cache/texture_cache_base.h
+++ b/src/video_core/texture_cache/texture_cache_base.h
@@ -59,6 +59,8 @@ class TextureCache {
static constexpr bool HAS_EMULATED_COPIES = P::HAS_EMULATED_COPIES;
/// True when the API can provide info about the memory of the device.
static constexpr bool HAS_DEVICE_MEMORY_INFO = P::HAS_DEVICE_MEMORY_INFO;
+ /// True when the API provides utilities for pixel format conversions.
+ static constexpr bool HAS_PIXEL_FORMAT_CONVERSIONS = P::HAS_PIXEL_FORMAT_CONVERSIONS;
static constexpr u64 DEFAULT_EXPECTED_MEMORY = 1_GiB;
static constexpr u64 DEFAULT_CRITICAL_MEMORY = 2_GiB;