diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-23 08:32:41 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:39 +0200 |
commit | 4f052a1f393d45843eabc237e21757be15f20062 (patch) | |
tree | 7624b3e6f6f77f2301a575918a680b887d905ff4 /src/video_core/vulkan_common/vulkan_device.cpp | |
parent | shader: Only verify shader when graphics debugging is enabled (diff) | |
download | yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.gz yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.bz2 yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.lz yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.xz yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.zst yuzu-4f052a1f393d45843eabc237e21757be15f20062.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 9d918de8d..7b184d2f8 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -412,6 +412,10 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR LOG_INFO(Render_Vulkan, "Device doesn't support extended dynamic state"); } + if (!ext_conservative_rasterization) { + LOG_INFO(Render_Vulkan, "Device doesn't support conservative rasterization"); + } + VkPhysicalDeviceProvokingVertexFeaturesEXT provoking_vertex; if (ext_provoking_vertex) { provoking_vertex = { @@ -776,6 +780,8 @@ std::vector<const char*> Device::LoadExtensions(bool requires_surface) { true); test(ext_tooling_info, VK_EXT_TOOLING_INFO_EXTENSION_NAME, true); test(ext_shader_stencil_export, VK_EXT_SHADER_STENCIL_EXPORT_EXTENSION_NAME, true); + test(ext_conservative_rasterization, VK_EXT_CONSERVATIVE_RASTERIZATION_EXTENSION_NAME, + true); test(has_ext_transform_feedback, VK_EXT_TRANSFORM_FEEDBACK_EXTENSION_NAME, false); test(has_ext_custom_border_color, VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME, false); test(has_ext_extended_dynamic_state, VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME, false); |