Mesa (main): asahi: Unpack varying descriptors (1x)
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jul 11 22:41:36 UTC 2021
Module: Mesa
Branch: main
Commit: e2176490d6418253ee3c25801e906cbed4b8bdf0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2176490d6418253ee3c25801e906cbed4b8bdf0
Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date: Sun Jul 11 17:05:03 2021 -0400
asahi: Unpack varying descriptors (1x)
Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11818>
---
src/asahi/lib/decode.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/asahi/lib/decode.c b/src/asahi/lib/decode.c
index eea80e43c22..f19b12cea08 100644
--- a/src/asahi/lib/decode.c
+++ b/src/asahi/lib/decode.c
@@ -377,6 +377,14 @@ agxdecode_record(uint64_t va, size_t size, bool verbose)
if (cmd.fs_varyings) {
uint8_t *map = agxdecode_fetch_gpu_mem(cmd.fs_varyings, 128);
hexdump(agxdecode_dump_stream, map, 128, false);
+
+ DUMP_CL(VARYING_HEADER, map, "Varying header:");
+ map += AGX_VARYING_HEADER_LENGTH;
+
+ for (unsigned i = 0; i < cmd.input_count; ++i) {
+ DUMP_CL(VARYING, map, "Varying:");
+ map += AGX_VARYING_LENGTH;
+ }
}
DUMP_UNPACKED(BIND_PIPELINE, cmd, "Bind fragment pipeline\n");
More information about the mesa-commit
mailing list