summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-02-21 22:34:27 +0100
committerGitHub <noreply@github.com>2022-02-21 22:34:27 +0100
commitefe50d88ec48b4782f6b9185b068cd497e8de322 (patch)
tree88dd81fb42e7ae3121cb75a15762bf4f16f277a8 /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #7919 from bunnei/phys-mem-updates (diff)
parentvulkan_device: fix missing format in ANV (diff)
downloadyuzu-efe50d88ec48b4782f6b9185b068cd497e8de322.tar
yuzu-efe50d88ec48b4782f6b9185b068cd497e8de322.tar.gz
yuzu-efe50d88ec48b4782f6b9185b068cd497e8de322.tar.bz2
yuzu-efe50d88ec48b4782f6b9185b068cd497e8de322.tar.lz
yuzu-efe50d88ec48b4782f6b9185b068cd497e8de322.tar.xz
yuzu-efe50d88ec48b4782f6b9185b068cd497e8de322.tar.zst
yuzu-efe50d88ec48b4782f6b9185b068cd497e8de322.zip
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h5
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.