freedreno/decode: Print mode for compute shaders

Similar to draw packets, it is useful to be able to see the mode and
pipe.

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38450>
This commit is contained in:
Rob Clark 2025-10-30 14:38:13 -07:00 committed by Marge Bot
parent c026a8f105
commit e7a01c9c23
2 changed files with 4 additions and 0 deletions

View file

@ -2808,6 +2808,7 @@ static void
cp_exec_cs(uint32_t *dwords, uint32_t sizedwords, int level)
{
do_query("compute", 0);
print_mode(level);
dump_bindless_descriptors(true, level);
dump_register_summary(level);
}
@ -2827,6 +2828,7 @@ cp_exec_cs_indirect(uint32_t *dwords, uint32_t sizedwords, int level)
dump_gpuaddr_size(addr, level, 0x10, 2);
do_query("compute", 0);
print_mode(level);
dump_bindless_descriptors(true, level);
dump_register_summary(level);
}

View file

@ -709,6 +709,8 @@ cmdstream[0]: 207 dwords
{ NGROUPS_X = 1 }
{ NGROUPS_Y = 2 }
{ NGROUPS_Z = 3 }
mode: BYPASS
skip_ib2: g=0, l=0
draw[0] register values
!+ 00000001 CP_SCRATCH[0].REG: 1
!+ 00100000 RB_DBG_ECO_CNTL: 0x100000