aco: add new pseudo instruction p_jump_to_epilog
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Jun 2022 12:17:29 +0000 (14:17 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 18 Jul 2022 18:40:02 +0000 (18:40 +0000)
commit8bdcc20815d88de4a3d7a355bd936fbfb8eed073
treec5a6d09359e3846b1b056219ad28c5be12e0beda
parent0fd3754c26439f8ef081563ed87b1a5dd7faa13f
aco: add new pseudo instruction p_jump_to_epilog

The first operand of this new pseudo-instruction is a 64-bit SGPR for
the continue PC, followed by a variable list of fixed VGPRS for the
color exports which are the PS epilog inputs.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17485>
src/amd/compiler/aco_insert_waitcnt.cpp
src/amd/compiler/aco_lower_to_hw_instr.cpp
src/amd/compiler/aco_opcodes.py
src/amd/compiler/aco_scheduler.cpp
src/amd/compiler/aco_validate.cpp