radv: remove redundant assignment of tcs.tcs_vertices_out
It's already assigned from radv_nir_shader_info_pass() and it's only used to configure the VGT_TF_PARAM register. Otherwise, we read it from NIR shader info during compilation. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18184>
This commit is contained in:

committed by
Marge Bot

parent
762eefdbf6
commit
76f33cbf25
@@ -3614,7 +3614,6 @@ gather_tess_info(struct radv_device *device, struct radv_pipeline_stage *stages,
|
||||
stages[MESA_SHADER_TESS_EVAL].info.num_tess_patches = num_patches;
|
||||
stages[MESA_SHADER_GEOMETRY].info.num_tess_patches = num_patches;
|
||||
stages[MESA_SHADER_VERTEX].info.num_tess_patches = num_patches;
|
||||
stages[MESA_SHADER_TESS_CTRL].info.tcs.tcs_vertices_out = tess_out_patch_size;
|
||||
stages[MESA_SHADER_VERTEX].info.tcs.tcs_vertices_out = tess_out_patch_size;
|
||||
|
||||
if (!radv_use_llvm_for_stage(device, MESA_SHADER_VERTEX)) {
|
||||
|
Reference in New Issue
Block a user