aco: shrink DPP8_instruction

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25525>
This commit is contained in:
Rhys Perry
2023-10-02 15:44:49 +01:00
committed by Marge Bot
parent e90b5385a0
commit 26fce534b5
10 changed files with 25 additions and 29 deletions
+1 -2
View File
@@ -4865,8 +4865,7 @@ select_instruction(opt_ctx& ctx, aco_ptr<Instruction>& instr)
if (dpp8) {
DPP8_instruction* dpp = &instr->dpp8();
for (unsigned j = 0; j < 8; ++j)
dpp->lane_sel[j] = info.instr->dpp8().lane_sel[j];
dpp->lane_sel = info.instr->dpp8().lane_sel;
if (mov_uses_mods)
instr->format = asVOP3(instr->format);
} else {