mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
asahi: Improve render target dumping
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16512>
This commit is contained in:
parent
6eb62c5f50
commit
8a1ee708a4
1 changed files with 4 additions and 1 deletions
|
|
@ -360,8 +360,11 @@ agxdecode_pipeline(const uint8_t *map, UNUSED bool verbose)
|
|||
DUMP_UNPACKED(BIND_TEXTURE, temp, "Bind texture\n");
|
||||
|
||||
uint8_t *tex = agxdecode_fetch_gpu_mem(temp.buffer, 64);
|
||||
/* Texture length seen to be <= 0x18 bytes, samplers only need 8 byte
|
||||
* alignment */
|
||||
agx_unpack(agxdecode_dump_stream, tex, TEXTURE, t);
|
||||
DUMP_CL(TEXTURE, tex, "Texture");
|
||||
hexdump(agxdecode_dump_stream, tex + AGX_TEXTURE_LENGTH, 64 - AGX_TEXTURE_LENGTH, false);
|
||||
DUMP_CL(RENDER_TARGET, tex, "Render target");
|
||||
|
||||
return AGX_BIND_TEXTURE_LENGTH;
|
||||
} else if (map[0] == 0x9D) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue