summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-17 21:45:09 +0100
committerLiam <byteslice@airmail.cc>2023-12-17 21:45:09 +0100
commitfba3fa705d70f99aade208e230ad691d0a0b01cf (patch)
tree2df95a38903f61486708a1812049761436fa406d /src/video_core/vulkan_common
parentMerge pull request #12378 from liamwhite/offsetof (diff)
downloadyuzu-fba3fa705d70f99aade208e230ad691d0a0b01cf.tar
yuzu-fba3fa705d70f99aade208e230ad691d0a0b01cf.tar.gz
yuzu-fba3fa705d70f99aade208e230ad691d0a0b01cf.tar.bz2
yuzu-fba3fa705d70f99aade208e230ad691d0a0b01cf.tar.lz
yuzu-fba3fa705d70f99aade208e230ad691d0a0b01cf.tar.xz
yuzu-fba3fa705d70f99aade208e230ad691d0a0b01cf.tar.zst
yuzu-fba3fa705d70f99aade208e230ad691d0a0b01cf.zip
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 1fda0042d..a6fbca69e 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -695,6 +695,11 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
std::min(properties.properties.limits.maxVertexInputBindings, 16U);
}
+ if (is_turnip) {
+ LOG_WARNING(Render_Vulkan, "Turnip requires higher-than-reported binding limits");
+ properties.properties.limits.maxVertexInputBindings = 32;
+ }
+
if (!extensions.extended_dynamic_state && extensions.extended_dynamic_state2) {
LOG_INFO(Render_Vulkan,
"Removing extendedDynamicState2 due to missing extendedDynamicState");