summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-14 21:33:10 +0100
committerGitHub <noreply@github.com>2022-12-14 21:33:10 +0100
commita222f02c7aa88bfbae10075e6a19ce1fbe672815 (patch)
tree67f7d5d94bfc66d71df7e60826a6c17ed54f9ef1 /src/video_core/vulkan_common/vulkan_device.cpp
parentMerge pull request #9425 from german77/german_unlimited (diff)
parentFix validation errors on less compatible Intel GPU (diff)
downloadyuzu-a222f02c7aa88bfbae10075e6a19ce1fbe672815.tar
yuzu-a222f02c7aa88bfbae10075e6a19ce1fbe672815.tar.gz
yuzu-a222f02c7aa88bfbae10075e6a19ce1fbe672815.tar.bz2
yuzu-a222f02c7aa88bfbae10075e6a19ce1fbe672815.tar.lz
yuzu-a222f02c7aa88bfbae10075e6a19ce1fbe672815.tar.xz
yuzu-a222f02c7aa88bfbae10075e6a19ce1fbe672815.tar.zst
yuzu-a222f02c7aa88bfbae10075e6a19ce1fbe672815.zip
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 6a2ad4b1d..67540cb80 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -1380,6 +1380,10 @@ void Device::SetupFeatures() {
is_shader_storage_image_multisample = features.shaderStorageImageMultisample;
is_blit_depth_stencil_supported = TestDepthStencilBlits();
is_optimal_astc_supported = IsOptimalAstcSupported(features);
+
+ const VkPhysicalDeviceLimits& limits{properties.limits};
+ max_vertex_input_attributes = limits.maxVertexInputAttributes;
+ max_vertex_input_bindings = limits.maxVertexInputBindings;
}
void Device::SetupProperties() {