diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2022-06-24 14:17:29 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-07-18 18:40:02 +0000 |
commit | 8bdcc20815d88de4a3d7a355bd936fbfb8eed073 (patch) | |
tree | c5a6d09359e3846b1b056219ad28c5be12e0beda /src/amd/compiler/aco_lower_to_hw_instr.cpp | |
parent | 0fd3754c26439f8ef081563ed87b1a5dd7faa13f (diff) | |
download | mesa-8bdcc20815d88de4a3d7a355bd936fbfb8eed073.tar.gz |
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>
Diffstat (limited to 'src/amd/compiler/aco_lower_to_hw_instr.cpp')
-rw-r--r-- | src/amd/compiler/aco_lower_to_hw_instr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/compiler/aco_lower_to_hw_instr.cpp b/src/amd/compiler/aco_lower_to_hw_instr.cpp index 1920dfbe6b9..6250b7f285d 100644 --- a/src/amd/compiler/aco_lower_to_hw_instr.cpp +++ b/src/amd/compiler/aco_lower_to_hw_instr.cpp @@ -2368,6 +2368,10 @@ lower_to_hw_instr(Program* program) } break; } + case aco_opcode::p_jump_to_epilog: { + bld.sop1(aco_opcode::s_setpc_b64, instr->operands[0]); + break; + } default: break; } } else if (instr->isBranch()) { |