diff options
author | bunnei <[email protected]> | 2023-03-01 21:22:06 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-01 21:22:06 -0800 |
commit | 99d763888fab809ae8f7b0e1bd4b92a630f8440b (patch) | |
tree | 234df950511e95cb3c2069cc15e08aef016b9948 | |
parent | 97f7a560f3905a1dd6a4e5a0a308ea752004bf08 (diff) | |
parent | ec6ee04c64a093fec161b66cabf9da3c576f97f0 (diff) | |
download | yuzu-android-99d763888fab809ae8f7b0e1bd4b92a630f8440b.tar.gz yuzu-android-99d763888fab809ae8f7b0e1bd4b92a630f8440b.zip |
Merge pull request #9888 from liamwhite/vids
vulkan_common: disable vertexInputDynamicState on unsupported driver
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |