aco: Move s_setprio to correct place after the gs_alloc_req.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 23 Apr 2020 13:53:09 +0000 (15:53 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 17:58:57 +0000 (17:58 +0000)
commit62ff2ff8086fd3bbff02004628e0c7498fe3294e
treec6258a18538479b38ae79320fdc5bfb0dd450de0
parent277f37d036159d373ec9726fe00148d5e49da875
aco: Move s_setprio to correct place after the gs_alloc_req.

Previously the setprio was inside the branch, so it would only reset
the priority on the first wave, but not the others.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4536>
src/amd/compiler/aco_instruction_selection.cpp