freedreno/rddecompiler: Decompile repeated IBs

Otherwise we don't reconstruct the whole cmdstream.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25677>
This commit is contained in:
Danylo Piliaiev
2023-10-12 11:27:44 +02:00
committed by Marge Bot
parent 0338b14657
commit 734bbe33cf

View File

@@ -395,10 +395,8 @@ decompile_commands(uint32_t *dwords, uint32_t sizedwords, int level)
printlvl(level, "{\n");
printlvl(level + 1, "begin_ib();\n");
if (!has_dumped(ibaddr, 0x7)) {
uint32_t *ptr = hostptr(ibaddr);
decompile_commands(ptr, ibsize, level + 1);
}
uint32_t *ptr = hostptr(ibaddr);
decompile_commands(ptr, ibsize, level + 1);
printlvl(level + 1, "end_ib();\n");
printlvl(level, "}\n");