pan/decode: Change indent when decoding resources

Make the separation between entries in the resource table more
obvious.

Increase the indent by two levels to keep descriptors distinct from
the resource entry itself.

Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17371>
This commit is contained in:
Icecream95 2022-07-07 12:27:50 +12:00 committed by Marge Bot
parent e05889c8c9
commit 91d9a34925
1 changed files with 2 additions and 0 deletions

View File

@ -1215,8 +1215,10 @@ pandecode_resource_tables(mali_ptr addr, const char *label)
pan_unpack(cl + i * MALI_RESOURCE_LENGTH, RESOURCE, entry);
DUMP_UNPACKED(RESOURCE, entry, "Entry %u:\n", i);
pandecode_indent += 2;
if (entry.address)
pandecode_resources(entry.address, entry.size);
pandecode_indent -= 2;
}
}