diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-11-25 11:42:20 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-12-14 03:39:18 +0100 |
commit | 0104e28fe4215468b8c444500e24b62d1ec0cc56 (patch) | |
tree | 382ce9bb47ed5d70feee2482dc0796f31ce3c0c6 /src/video_core/vulkan_common/vulkan_device.h | |
parent | Merge pull request #9425 from german77/german_unlimited (diff) | |
download | yuzu-0104e28fe4215468b8c444500e24b62d1ec0cc56.tar yuzu-0104e28fe4215468b8c444500e24b62d1ec0cc56.tar.gz yuzu-0104e28fe4215468b8c444500e24b62d1ec0cc56.tar.bz2 yuzu-0104e28fe4215468b8c444500e24b62d1ec0cc56.tar.lz yuzu-0104e28fe4215468b8c444500e24b62d1ec0cc56.tar.xz yuzu-0104e28fe4215468b8c444500e24b62d1ec0cc56.tar.zst yuzu-0104e28fe4215468b8c444500e24b62d1ec0cc56.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index db802437c..3755275c3 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -256,6 +256,11 @@ public: return ext_depth_range_unrestricted; } + /// Returns true if the device supports VK_EXT_depth_clip_control. + bool IsExtDepthClipControlSupported() const { + return ext_depth_clip_control; + } + /// Returns true if the device supports VK_EXT_shader_viewport_index_layer. bool IsExtShaderViewportIndexLayerSupported() const { return ext_shader_viewport_index_layer; @@ -446,6 +451,7 @@ private: bool khr_swapchain_mutable_format{}; ///< Support for VK_KHR_swapchain_mutable_format. bool ext_index_type_uint8{}; ///< Support for VK_EXT_index_type_uint8. bool ext_sampler_filter_minmax{}; ///< Support for VK_EXT_sampler_filter_minmax. + bool ext_depth_clip_control{}; ///< Support for VK_EXT_depth_clip_control bool ext_depth_range_unrestricted{}; ///< Support for VK_EXT_depth_range_unrestricted. bool ext_shader_viewport_index_layer{}; ///< Support for VK_EXT_shader_viewport_index_layer. bool ext_tooling_info{}; ///< Support for VK_EXT_tooling_info. |