mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
pan/decode: Print the resource table label
Useful to quickly spot which stage of the pipeline is using a resource table. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26221>
This commit is contained in:
parent
408b3f3ced
commit
7dd610f908
1 changed files with 3 additions and 0 deletions
|
|
@ -434,6 +434,8 @@ GENX(pandecode_resource_tables)(struct pandecode_context *ctx, mali_ptr addr,
|
|||
const uint8_t *cl =
|
||||
pandecode_fetch_gpu_mem(ctx, addr, MALI_RESOURCE_LENGTH * count);
|
||||
|
||||
pandecode_log(ctx, "%s resource table @%" PRIx64 "\n", label, addr);
|
||||
ctx->indent += 2;
|
||||
for (unsigned i = 0; i < count; ++i) {
|
||||
pan_unpack(cl + i * MALI_RESOURCE_LENGTH, RESOURCE, entry);
|
||||
DUMP_UNPACKED(ctx, RESOURCE, entry, "Entry %u @%" PRIx64 ":\n", i,
|
||||
|
|
@ -444,6 +446,7 @@ GENX(pandecode_resource_tables)(struct pandecode_context *ctx, mali_ptr addr,
|
|||
pandecode_resources(ctx, entry.address, entry.size);
|
||||
ctx->indent -= 2;
|
||||
}
|
||||
ctx->indent -= 2;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue