aco: fix ds_sub_gs_reg_rtn validation
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 5 Jun 2023 11:01:19 +0000 (12:01 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 6 Jun 2023 16:09:28 +0000 (16:09 +0000)
commit53383fe8a55510fa238c17e2bc8a3b4677f5dd36
treeba4bd535269883a8f688f4b0ea6a923debe5cbcc
parente2927dd5e76454279d464b92eeb810515e42f2b9
aco: fix ds_sub_gs_reg_rtn validation

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Fixes: 8d5cc23c186 ("aco: use gds reg when ordered xfb counter add")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23434>
src/amd/compiler/aco_validate.cpp