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:
parent
e05889c8c9
commit
91d9a34925
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue