Mesa (main): anv: remove redundant VertexURBEntryReadLength setting
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 5 10:49:17 UTC 2021
Module: Mesa
Branch: main
Commit: 5d7ab9ea6aea07d34aa737b4af21644eb6d233cc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d7ab9ea6aea07d34aa737b4af21644eb6d233cc
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Mon Oct 4 13:20:46 2021 +0300
anv: remove redundant VertexURBEntryReadLength setting
We're setting the same field a dozen lines below to the exact same
value.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Marcin Ślusarz <marcin.slusarz at intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13169>
---
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;
More information about the mesa-commit
mailing list