mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
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:
parent
c026a8f105
commit
e7a01c9c23
2 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue