aco: fix printing dpp8

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27118>
This commit is contained in:
Georg Lehmann 2024-01-17 00:45:11 +01:00 committed by Marge Bot
parent c69650a95e
commit bc57f14c2d

View file

@ -713,7 +713,7 @@ print_instr_format_specific(enum amd_gfx_level gfx_level, const Instruction* ins
const DPP8_instruction& dpp = instr->dpp8();
fprintf(output, " dpp8:[");
for (unsigned i = 0; i < 8; i++)
fprintf(output, "%s%u", i ? "," : "", (dpp.lane_sel >> (i * 3)) & 0x8);
fprintf(output, "%s%u", i ? "," : "", (dpp.lane_sel >> (i * 3)) & 0x7);
fprintf(output, "]");
if (dpp.fetch_inactive)
fprintf(output, " fi");