diff options
author | Fernando S <fsahmkow27@gmail.com> | 2023-12-20 18:44:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-20 18:44:47 +0100 |
commit | 234867b84deb52073d4509084d0d7f6ee44a9b23 (patch) | |
tree | 5cf36e56bade9a657f878a2423d323f787b0b5bf /src/video_core/vulkan_common | |
parent | Merge pull request #12411 from ameerj/gl-nv-tfb-fixups (diff) | |
parent | renderer_vulkan: work around turnip binding bug in a610 (diff) | |
download | yuzu-234867b84deb52073d4509084d0d7f6ee44a9b23.tar yuzu-234867b84deb52073d4509084d0d7f6ee44a9b23.tar.gz yuzu-234867b84deb52073d4509084d0d7f6ee44a9b23.tar.bz2 yuzu-234867b84deb52073d4509084d0d7f6ee44a9b23.tar.lz yuzu-234867b84deb52073d4509084d0d7f6ee44a9b23.tar.xz yuzu-234867b84deb52073d4509084d0d7f6ee44a9b23.tar.zst yuzu-234867b84deb52073d4509084d0d7f6ee44a9b23.zip |
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 5 |
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"); |