diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-08-29 07:52:09 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-08-29 08:03:36 +0200 |
commit | 27f8f3333f8e87e87c7b7dfebdc466bb96ab0a48 (patch) | |
tree | 3c4d2b8e421252c5f674606d9d9ab372b1552ee8 /src/video_core/vulkan_common/vulkan_device.h | |
parent | vk_swapchain: Prefer linear swapchain format when presenting sRGB images (diff) | |
download | yuzu-27f8f3333f8e87e87c7b7dfebdc466bb96ab0a48.tar yuzu-27f8f3333f8e87e87c7b7dfebdc466bb96ab0a48.tar.gz yuzu-27f8f3333f8e87e87c7b7dfebdc466bb96ab0a48.tar.bz2 yuzu-27f8f3333f8e87e87c7b7dfebdc466bb96ab0a48.tar.lz yuzu-27f8f3333f8e87e87c7b7dfebdc466bb96ab0a48.tar.xz yuzu-27f8f3333f8e87e87c7b7dfebdc466bb96ab0a48.tar.zst yuzu-27f8f3333f8e87e87c7b7dfebdc466bb96ab0a48.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 234d74129..5599c38c5 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -224,6 +224,11 @@ public: return khr_pipeline_executable_properties; } + /// Returns true if VK_KHR_swapchain_mutable_format is enabled. + bool IsKhrSwapchainMutableFormatEnabled() const { + return khr_swapchain_mutable_format; + } + /// Returns true if the device supports VK_KHR_workgroup_memory_explicit_layout. bool IsKhrWorkgroupMemoryExplicitLayoutSupported() const { return khr_workgroup_memory_explicit_layout; @@ -390,6 +395,7 @@ private: bool khr_workgroup_memory_explicit_layout{}; ///< Support for explicit workgroup layouts. bool khr_push_descriptor{}; ///< Support for VK_KHR_push_descritor. bool khr_pipeline_executable_properties{}; ///< Support for executable properties. + 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_range_unrestricted{}; ///< Support for VK_EXT_depth_range_unrestricted. |