Module: Mesa Branch: main Commit: e1345c5295d37494d5a60d7fc0285c175a5dd953 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1345c5295d37494d5a60d7fc0285c175a5dd953
Author: Samuel Pitoiset <[email protected]> Date: Thu Nov 16 16:53:41 2023 +0100 aco: rename color_exports to exports in create_fs_jump_to_epilog() Signed-off-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26231> --- src/amd/compiler/aco_instruction_selection.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index bfb05e76cf8..684b65b7f40 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -10890,7 +10890,7 @@ static void create_fs_jump_to_epilog(isel_context* ctx) { Builder bld(ctx->program, ctx->block); - std::vector<Operand> color_exports; + std::vector<Operand> exports; PhysReg exports_start(256); /* VGPR 0 */ for (unsigned slot = FRAG_RESULT_DATA0; slot < FRAG_RESULT_DATA7 + 1; ++slot) { @@ -10905,7 +10905,7 @@ create_fs_jump_to_epilog(isel_context* ctx) for (unsigned i = 0; i < 4; i++) { if (!(write_mask & BITFIELD_BIT(i))) { - color_exports.emplace_back(Operand(v1)); + exports.emplace_back(Operand(v1)); continue; } @@ -10921,17 +10921,17 @@ create_fs_jump_to_epilog(isel_context* ctx) } chan.setFixed(chan_reg); - color_exports.emplace_back(chan); + exports.emplace_back(chan); } } Temp continue_pc = convert_pointer_to_64_bit(ctx, get_arg(ctx, ctx->program->info.ps.epilog_pc)); aco_ptr<Pseudo_instruction> jump{create_instruction<Pseudo_instruction>( - aco_opcode::p_jump_to_epilog, Format::PSEUDO, 1 + color_exports.size(), 0)}; + aco_opcode::p_jump_to_epilog, Format::PSEUDO, 1 + exports.size(), 0)}; jump->operands[0] = Operand(continue_pc); - for (unsigned i = 0; i < color_exports.size(); i++) { - jump->operands[i + 1] = color_exports[i]; + for (unsigned i = 0; i < exports.size(); i++) { + jump->operands[i + 1] = exports[i]; } ctx->block->instructions.emplace_back(std::move(jump)); }
