From ec6ee04c64a093fec161b66cabf9da3c576f97f0 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 1 Mar 2023 22:47:39 -0500 Subject: vulkan_common: disable vertexInputDynamicState on unsupported driver --- src/video_core/vulkan_common/vulkan_device.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/video_core') diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 23d922e5d..48f1a3d14 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -409,6 +409,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR if (is_rdna2) { LOG_WARNING(Render_Vulkan, "RADV has broken VK_EXT_vertex_input_dynamic_state on RDNA2 hardware"); + features.vertex_input_dynamic_state.vertexInputDynamicState = false; extensions.vertex_input_dynamic_state = false; loaded_extensions.erase(VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME); } -- cgit v1.2.3