mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 10:12:46 +01:00
Merge pull request #9888 from liamwhite/vids
vulkan_common: disable vertexInputDynamicState on unsupported driver
This commit is contained in:
commit
99d763888f
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
||||||
if (is_rdna2) {
|
if (is_rdna2) {
|
||||||
LOG_WARNING(Render_Vulkan,
|
LOG_WARNING(Render_Vulkan,
|
||||||
"RADV has broken VK_EXT_vertex_input_dynamic_state on RDNA2 hardware");
|
"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;
|
extensions.vertex_input_dynamic_state = false;
|
||||||
loaded_extensions.erase(VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
|
loaded_extensions.erase(VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue