This fixes a copy-paste error found by manual inspection.
TES may be merged into GS with certain HW stage mappings, which lead to
duplicate set-register commands to be emitted with the old code.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20935>
radv_emit_userdata_address(device, cs, pipeline, MESA_SHADER_TESS_CTRL,
AC_UD_INDIRECT_DESCRIPTOR_SETS, va);
- if (radv_pipeline_has_stage(graphics_pipeline, MESA_SHADER_TESS_CTRL))
+ if (radv_pipeline_has_stage(graphics_pipeline, MESA_SHADER_TESS_EVAL))
radv_emit_userdata_address(device, cs, pipeline, MESA_SHADER_TESS_EVAL,
AC_UD_INDIRECT_DESCRIPTOR_SETS, va);
} else {