summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-12-18 07:03:13 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-12-18 07:17:08 +0100
commit6c00151d17050861e76677c219296fb35bf76214 (patch)
treea2601650dd6da243df5a4316f3a3b60e585198d3 /src/video_core/vulkan_common/vulkan_device.h
parentVulkan: implement Logical Operations. (diff)
downloadyuzu-6c00151d17050861e76677c219296fb35bf76214.tar
yuzu-6c00151d17050861e76677c219296fb35bf76214.tar.gz
yuzu-6c00151d17050861e76677c219296fb35bf76214.tar.bz2
yuzu-6c00151d17050861e76677c219296fb35bf76214.tar.lz
yuzu-6c00151d17050861e76677c219296fb35bf76214.tar.xz
yuzu-6c00151d17050861e76677c219296fb35bf76214.tar.zst
yuzu-6c00151d17050861e76677c219296fb35bf76214.zip
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index ed7782d42..4c9d86aad 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -238,14 +238,19 @@ public:
return khr_workgroup_memory_explicit_layout;
}
- /// Returns true if the device supports VK_EXT_index_type_uint8.
- bool IsExtIndexTypeUint8Supported() const {
- return ext_index_type_uint8;
+ /// Returns true if the device supports VK_EXT_primitive_topology_list_restart.
+ bool IsTopologyListPrimitiveRestartSupported() const {
+ return is_topology_list_restart_supported;
}
/// Returns true if the device supports VK_EXT_primitive_topology_list_restart.
- bool IsExtPrimitiveTopologyListRestartSupported() const {
- return ext_primitive_topology_list_restart;
+ bool IsPatchListPrimitiveRestartSupported() const {
+ return is_patch_list_restart_supported;
+ }
+
+ /// Returns true if the device supports VK_EXT_index_type_uint8.
+ bool IsExtIndexTypeUint8Supported() const {
+ return ext_index_type_uint8;
}
/// Returns true if the device supports VK_EXT_sampler_filter_minmax.
@@ -419,8 +424,6 @@ private:
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_primitive_topology_list_restart{}; ///< Support for
- ///< VK_EXT_primitive_topology_list_restart.
bool ext_sampler_filter_minmax{}; ///< Support for VK_EXT_sampler_filter_minmax.
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.