From: Samuel Pitoiset Date: Tue, 12 Feb 2019 14:09:30 +0000 (+0100) Subject: radv: use MAX_{VBS,VERTEX_ATTRIBS} when defining max vertex input limits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45382baef621d8e947310daf49d979d9b9da21f6;p=mesa.git radv: use MAX_{VBS,VERTEX_ATTRIBS} when defining max vertex input limits Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 9509b3db13c..190de86b2cd 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -939,8 +939,8 @@ void radv_GetPhysicalDeviceProperties( .maxDescriptorSetSampledImages = max_descriptor_set_size, .maxDescriptorSetStorageImages = max_descriptor_set_size, .maxDescriptorSetInputAttachments = max_descriptor_set_size, - .maxVertexInputAttributes = 32, - .maxVertexInputBindings = 32, + .maxVertexInputAttributes = MAX_VERTEX_ATTRIBS, + .maxVertexInputBindings = MAX_VBS, .maxVertexInputAttributeOffset = 2047, .maxVertexInputBindingStride = 2048, .maxVertexOutputComponents = 128,