aco: fix printing of primitive exports

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41364>
This commit is contained in:
Rhys Perry 2026-05-04 13:09:47 +01:00 committed by Marge Bot
parent c815c51dcb
commit 650715b077

View file

@ -604,6 +604,8 @@ print_instr_format_specific(enum amd_gfx_level gfx_level, const Instruction* ins
fprintf(output, " null");
else if (exp.dest >= V_008DFC_SQ_EXP_POS && exp.dest <= V_008DFC_SQ_EXP_POS + 3)
fprintf(output, " pos%d", exp.dest - V_008DFC_SQ_EXP_POS);
else if (exp.dest == V_008DFC_SQ_EXP_PRIM)
fprintf(output, " prim");
else if (exp.dest >= V_008DFC_SQ_EXP_PARAM && exp.dest <= V_008DFC_SQ_EXP_PARAM + 31)
fprintf(output, " param%d", exp.dest - V_008DFC_SQ_EXP_PARAM);
break;