radv: stop declaring the scratch offset argument for TCS epilogs

ACO skip it for epilogs now.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24643>
This commit is contained in:
Samuel Pitoiset
2023-08-11 23:56:23 +02:00
committed by Marge Bot
parent 6ad8abf7aa
commit d0808b22cb
-5
View File
@@ -769,14 +769,9 @@ void
radv_declare_tcs_epilog_args(const struct radv_device *device, const struct radv_tcs_epilog_key *key,
struct radv_shader_args *args)
{
const enum amd_gfx_level gfx_level = device->physical_device->rad_info.gfx_level;
radv_init_shader_args(device, MESA_SHADER_TESS_CTRL, args);
ac_add_arg(&args->ac, AC_ARG_SGPR, 2, AC_ARG_CONST_DESC_PTR, &args->ac.ring_offsets);
if (gfx_level < GFX11)
ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.scratch_offset);
/* TODO: declare other arguments. */
}