From 7a87cc5299584e2597a49250384e6bf5722e59f8 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Fri, 3 Oct 2025 19:18:49 +0200 Subject: [PATCH] libagx: fix heap argument type in libagx_draw_robust_index Fixes: d339bf7a98e ("libagx: rename agx_geometry_state to agx_heap") Reviewed-by: Alyssa Rosenzweig Reviewed-by: Mary Guillemard Reviewed-by: Janne Grunau Part-of: (cherry picked from commit 9f67cc1510f58f568a00e98c41d1b884a735501f) --- .pick_status.json | 2 +- src/asahi/libagx/draws.cl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index d0e1c3b3e47..c5551954bdc 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -5444,7 +5444,7 @@ "description": "libagx: fix heap argument type in libagx_draw_robust_index", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "d339bf7a98eae1e238d9a9e37d479c17675d074f", "notes": null diff --git a/src/asahi/libagx/draws.cl b/src/asahi/libagx/draws.cl index c3c9d01bf3b..88e88fadb2b 100644 --- a/src/asahi/libagx/draws.cl +++ b/src/asahi/libagx/draws.cl @@ -123,7 +123,7 @@ libagx_memset_small(global uchar *dst, uchar b, int len, uint tid) */ KERNEL(32) libagx_draw_robust_index(global uint32_t *vdm, - global struct agx_geometry_state *heap, + global struct agx_heap *heap, constant VkDrawIndexedIndirectCommand *cmd, uint64_t in_buf_ptr, uint32_t in_buf_range_B, ushort restart, enum agx_primitive topology,