ac,radeonsi: move ps arg pos_fixed_pt to ac_shader_args
authorQiang Yu <yuq825@gmail.com>
Tue, 8 Aug 2023 05:14:19 +0000 (13:14 +0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 10 Oct 2023 02:36:33 +0000 (02:36 +0000)
commit38530b808e01f39c8cf9dadf37787427723ca03d
tree93c5be07d8bc238d239ec7377f71163acedc3fe9
parent72cb85b77860e9fb796e49ce017a3ac81eacdf82
ac,radeonsi: move ps arg pos_fixed_pt to ac_shader_args

It's a HW init reg, not driver spec user sgpr. radv just
doesn't use it. Move it to amd common for aco ps prolog
usage.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24973>
src/amd/common/ac_shader_args.h
src/gallium/drivers/radeonsi/si_nir_lower_abi.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h