From 5d7ab9ea6aea07d34aa737b4af21644eb6d233cc Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 4 Oct 2021 13:20:46 +0300 Subject: [PATCH] anv: remove redundant VertexURBEntryReadLength setting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We're setting the same field a dozen lines below to the exact same value. Signed-off-by: Lionel Landwerlin Reviewed-by: Marcin Ĺšlusarz Reviewed-by: Sagar Ghuge Part-of: --- src/intel/vulkan/genX_pipeline.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index fed1dbc040f..31671d10b88 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -2012,7 +2012,6 @@ emit_3dstate_gs(struct anv_graphics_pipeline *pipeline) gs.OutputVertexSize = gs_prog_data->output_vertex_size_hwords * 2 - 1; gs.OutputTopology = gs_prog_data->output_topology; - gs.VertexURBEntryReadLength = gs_prog_data->base.urb_read_length; gs.ControlDataFormat = gs_prog_data->control_data_format; gs.ControlDataHeaderSize = gs_prog_data->control_data_header_size_hwords; gs.InstanceControl = MAX2(gs_prog_data->invocations, 1) - 1;