summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-08-29 01:19:24 +0200
committerGitHub <noreply@github.com>2020-08-29 01:19:24 +0200
commit1c9a1de30dc7ba19b736f906b64dfd64c7aa9cf5 (patch)
treeaa5fe996780ff649cc92b1b6ee4b8465c762bd98 /src
parentMerge pull request #4544 from lioncash/input-sub (diff)
parentvk_device: Blacklist AMD proprietary from VK_EXT_extended_dynamic_state (diff)
downloadyuzu-1c9a1de30dc7ba19b736f906b64dfd64c7aa9cf5.tar
yuzu-1c9a1de30dc7ba19b736f906b64dfd64c7aa9cf5.tar.gz
yuzu-1c9a1de30dc7ba19b736f906b64dfd64c7aa9cf5.tar.bz2
yuzu-1c9a1de30dc7ba19b736f906b64dfd64c7aa9cf5.tar.lz
yuzu-1c9a1de30dc7ba19b736f906b64dfd64c7aa9cf5.tar.xz
yuzu-1c9a1de30dc7ba19b736f906b64dfd64c7aa9cf5.tar.zst
yuzu-1c9a1de30dc7ba19b736f906b64dfd64c7aa9cf5.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_device.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_device.cpp b/src/video_core/renderer_vulkan/vk_device.cpp
index ebcfaa0e3..030b4dbd3 100644
--- a/src/video_core/renderer_vulkan/vk_device.cpp
+++ b/src/video_core/renderer_vulkan/vk_device.cpp
@@ -691,7 +691,12 @@ std::vector<const char*> VKDevice::LoadExtensions() {
}
}
- if (has_ext_extended_dynamic_state) {
+ if (has_ext_extended_dynamic_state && driver_id == VK_DRIVER_ID_AMD_PROPRIETARY) {
+ // AMD's proprietary driver supports VK_EXT_extended_dynamic_state but the <stride> field
+ // seems to be bugged. Blacklisting it for now.
+ LOG_WARNING(Render_Vulkan,
+ "Blacklisting AMD proprietary from VK_EXT_extended_dynamic_state");
+ } else if (has_ext_extended_dynamic_state) {
VkPhysicalDeviceExtendedDynamicStateFeaturesEXT dynamic_state;
dynamic_state.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT;
dynamic_state.pNext = nullptr;