diff options
author | voidanix <51296985+voidanix@users.noreply.github.com> | 2022-02-18 09:44:34 +0100 |
---|---|---|
committer | voidanix <51296985+voidanix@users.noreply.github.com> | 2022-02-21 09:21:41 +0100 |
commit | 7712e46d64e0eb857527cc2592a5373cc7b45e20 (patch) | |
tree | a89bc8c3494a3723ab5523de75669cf74095a998 /src/video_core/vulkan_common/vulkan_device.h | |
parent | Merge pull request #7867 from german77/amiibo (diff) | |
download | yuzu-7712e46d64e0eb857527cc2592a5373cc7b45e20.tar yuzu-7712e46d64e0eb857527cc2592a5373cc7b45e20.tar.gz yuzu-7712e46d64e0eb857527cc2592a5373cc7b45e20.tar.bz2 yuzu-7712e46d64e0eb857527cc2592a5373cc7b45e20.tar.lz yuzu-7712e46d64e0eb857527cc2592a5373cc7b45e20.tar.xz yuzu-7712e46d64e0eb857527cc2592a5373cc7b45e20.tar.zst yuzu-7712e46d64e0eb857527cc2592a5373cc7b45e20.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 37d140ebd..34b1add16 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -354,6 +354,10 @@ public: return cant_blit_msaa; } + bool MustEmulateBGR565() const { + return must_emulate_bgr565; + } + private: /// Checks if the physical device is suitable. void CheckSuitability(bool requires_swapchain) const; @@ -448,6 +452,7 @@ private: bool has_nsight_graphics{}; ///< Has Nsight Graphics attached bool supports_d24_depth{}; ///< Supports D24 depth buffers. bool cant_blit_msaa{}; ///< Does not support MSAA<->MSAA blitting. + bool must_emulate_bgr565{}; ///< Emulates BGR565 by swizzling RGB565 format. // Telemetry parameters std::string vendor_name; ///< Device's driver name. |