From 839b1f4e9145a615995ec732a733d71fa79c038f Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 1 Jun 2022 10:30:08 +0200 Subject: [PATCH] radv: remove redundant check when importing vertex input info It's already checked by the caller. Signed-off-by: Samuel Pitoiset Reviewed-by: Mike Blumenkrantz Part-of: --- src/amd/vulkan/radv_pipeline.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index adea75c6b2f..4065e7d4da6 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -1506,10 +1506,6 @@ radv_pipeline_init_vertex_input_info(struct radv_graphics_pipeline *pipeline, const VkPipelineVertexInputStateCreateInfo *vi = pCreateInfo->pVertexInputState; struct radv_vertex_input_info info = {0}; - /* Vertex input interface structs have to be ignored if the pipeline includes a mesh shader. */ - if (pipeline->active_stages & VK_SHADER_STAGE_MESH_BIT_NV) - return info; - if (!(pipeline->dynamic_states & RADV_DYNAMIC_VERTEX_INPUT)) { /* Vertex input */ const VkPipelineVertexInputDivisorStateCreateInfoEXT *divisor_state =