Module: Mesa
Branch: main
Commit: a57b4577a17756672e9bfb9a00e5c4b7fba7935a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a57b4577a17756672e9bfb9a00e5c4b7fba7935a

Author: Alyssa Rosenzweig <[email protected]>
Date:   Tue Nov  8 15:07:24 2022 -0500

asahi: Fix indexed draw decode

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606>

---

 src/asahi/lib/decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/asahi/lib/decode.c b/src/asahi/lib/decode.c
index 1697e162916..9d552470582 100644
--- a/src/asahi/lib/decode.c
+++ b/src/asahi/lib/decode.c
@@ -559,10 +559,10 @@ agxdecode_vdm(const uint8_t *map, uint64_t *link, bool 
verbose)
       }
 
       IDX_PRINT(index_buffer, BUFFER_LO, "Index buffer");
-      IDX_PRINT(index_buffer_size, BUFFER_SIZE, "Index buffer size");
       IDX_PRINT(index_count, COUNT, "Index count");
       IDX_PRINT(instance_count, INSTANCES, "Instance count");
       IDX_PRINT(start, START, "Start");
+      IDX_PRINT(index_buffer_size, BUFFER_SIZE, "Index buffer size");
 
 #undef IDX_PRINT
       return ALIGN_POT(length, 8);

Reply via email to