Skip to content

borealis: enable descriptor buffers on the M5 family - #456

Merged
DjDeveloperr merged 2 commits into
aurora-wipfrom
j716c/descriptor-buffers
Nov 25, 2026
Merged

DjDeveloperr merged 2 commits into
aurora-wipfrom
j716c/descriptor-buffers

Conversation

@erikwb

@erikwb erikwb commented Nov 18, 2026 •

Copy link
Copy Markdown

What: Enable VK_EXT_descriptor_buffer on M5 (G17G, G17S, G17C) via AGX_CAP_DESCRIPTOR_BUFFER alongside #938's AGX2 and native AGX3 enablement (retaining #641's AGX_CAP_CDM_WAR_WEAK_BARRIER), embed sparse storage-buffer residency map pages in vkGetDescriptorEXT() on M5 (keeping descriptorBufferCaptureReplay disabled on M5), and fix converted immutable sampler plane sizing, layout-support overflow/underflow, and null YCbCr descriptor-buffer sample guarding.
Tested: Host x86_64 at merge head f7d46a72d9d (merging aurora-wip cedf24806bcb into da94652040d0): meson test --suite asahi 294/294 pass (-Dglvnd=disabled, including hk-{g15g,g15s,g15c,g16g,g17p,g17s}-descriptor-buffer-sizes, hk-g17{p,s}-descriptor-buffer-texel, hk_push_descriptor_size, asahi-agx-chip-caps 406/406, and agx_tests 1,459 passed / 1 skipped), plus hk-vulkan-descriptor-buffer-sizes 27/27 on g13g, g14g, g17g, g17c, hk-vulkan-descriptor-buffer-texel m5 10/10 on g17s, and g18g negative exit 1. J713 (M4 Air, G16G) exact-head A/B (f7d46a72d9d3 vs merge-base cedf24806bcb, Linux 7.3.0): full dEQP-VK.binding_model.descriptor_buffer* (5,432 cases) 628 Pass / 4,804 NotSupported / 0 Fail and dEQP-VK.binding_model.descriptorset_random (stride 20, 1,758 cases) 486 Pass / 1,272 NotSupported / 0 Fail, both identical to base (0 diffs, 0 crashes). Prior da94652040d0 runs on J716c and J713 are in Evidence.
Risk: two-way door · M5 (G17G, G17S, G17C) for VK_EXT_descriptor_buffer and storage-buffer residency metadata; all descriptor-buffer-capable Macs (AGX2, native AGX3, M5) for shared layout-support, null YCbCr guard, and sparse_buffers.list lookup changes.
Not yet: Hardware CTS runs at merge head f7d46a72d9d (0 new failures vs aurora-wip, 0 GPU faults):

Details
  • Capability gate (AGX_CAP_DESCRIPTOR_BUFFER in src/asahi/lib/agx_chip_caps.h): Add AGX_CAP_DESCRIPTOR_BUFFER to AGX_CAPS_M5 (G17G, G17S, G17C) alongside borealis: keep weak ordering barrier for intra-CDM WAR and execution-only barriers on G17P and M5 #641's AGX_CAP_CDM_WAR_WEAK_BARRIER, and keep src/asahi/vulkan/hk_physical_device.c using agx_chip_has_cap(dev->chip, AGX_CAP_DESCRIPTOR_BUFFER) alongside borealis: enable VK_EXT_descriptor_buffer across AGX2 and native AGX3 via AGX_CHIP_CAPS #938's AGX2 and native AGX3 entries (leaving G18G excluded while it still uses AGX2-biased sampler indices and record-time compute image lowering).
  • M5 storage-buffer residency (src/asahi/vulkan/hk_buffer.{c,h}, src/asahi/vulkan/hk_descriptor_set.c): On M5 (agx_chip_g17_m5()), storage loads read hk_buffer_address::sparse_map_page, so hk_GetDescriptorEXT() populates it via hk_sparse_map_page_at(), sharing hk_sparse_buffer_at_locked() with hk_sparse_texel_word_at() and hk_sparse_address_is_sparse(). Because hk_buffer_in_sparse_list() now also tracks binding-only sparse buffers (buffer->sparse_map == NULL on M5), hk_sparse_map_page_at() checks buffer && buffer->sparse_map before reading buffer->sparse_map->va. Coordination note: if borealis: take the SSBO address format from the descriptor generation #561 merges first, hk_sparse_map_page_at() should switch to hk_storage_address_has_map() to stay aligned with get_buffer_address().
  • Capture/replay gate (src/asahi/vulkan/hk_physical_device.c): Keep descriptorBufferCaptureReplay disabled on M5 (!agx_chip_g17_m5(dev->chip)) because M5 storage buffer descriptors embed the residency map page and capture/replay preserves only the buffer VA, not its residency map VA. The pre-existing G17P sparse texel capture/replay stale-map issue is tracked in borealis: G17P descriptorBufferCaptureReplay replays stale residency map page for sparse texel buffers #648.
  • Shared descriptor-buffer fixes (all descriptor-buffer chips):
    • src/asahi/vulkan/hk_descriptor_set_layout.c: Share binding_plane_count() between hk_CreateDescriptorSetLayout() and hk_GetDescriptorSetLayoutSupport(), widen dynamic_buffer_count and size multiplication to 64-bit, and guard non_variable_size < max_buffer_size to prevent maxVariableDescriptorCount underflow.
    • src/asahi/vulkan/hk_descriptor_set.c / src/asahi/vulkan/hk_shader.c: Clamp null converted image descriptor writes in write_sampled_image_view_desc() to binding_layout->stride / native.stride, and guard converted samples from descriptor-buffer bindings in guard_null_ycbcr_sample() by testing plane 0 before sampling (preserving lowered_complex progress tracking).
  • Host shim tests (src/asahi/meson.build, src/asahi/vulkan/tests/hk_vulkan_descriptor_buffer_texel.c): Run hk-<chip>-descriptor-buffer-sizes across g15g, g15s, g15c, g16g, g17p, g17s, run hk-g17{p,s}-descriptor-buffer-texel, and check both sparse-residency and binding-only sparse storage-buffer residency map page words.
Evidence
  • Host build & test suite at merge head f7d46a72d9d (aurora-wip cedf24806bcb merged into da94652040d0, -Dgallium-drivers=asahi -Dvulkan-drivers=asahi -Dplatforms=wayland,x11 -Doptimization=2 -Ddebug=false -Db_ndebug=false -Dtools=drm-shim -Dbuild-tests=true -Dglvnd=disabled):

    • meson test -C _build --suite asahi: 294/294 OK, 0 Fail (including hk-{g15g,g15s,g15c,g16g,g17p,g17s}-descriptor-buffer-sizes, hk-g17{p,s}-descriptor-buffer-texel, hk_push_descriptor_size).
    • asahi-agx-chip-caps: 406/406 checks passed.
    • agx_tests: 1,459 passed, 1 skipped (NativeFMA.ExactDyadicOracle), 0 failed.
    • Targeted hk-vulkan-descriptor-buffer-sizes (ASAHI_SHIM_CHIP=<chip>): g13g, g14g, g17g, g17c all 27 checks, 0 failures; g18g exits 1 (descriptorBuffer or mutableDescriptorType missing).
    • hk-vulkan-descriptor-buffer-texel m5 (ASAHI_SHIM_CHIP=g17s): 10 checks, 0 failures (covers both sparse-residency and binding-only sparse storage buffer descriptors).
    • Merge head f7d46a72d9d directly merges origin/aurora-wip (cedf24806bcb) onto published head da94652040d0.
  • Exact-head J713 (M4 Air, G16G) hardware CTS A/B (f7d46a72d9d3 vs merge-base cedf24806bcb, Linux 7.3.0, Vulkan CTS 7ba03cdac7ae, same boot back-to-back):

    • dEQP-VK.binding_model.descriptor_buffer* (full, 5,432 cases): 628 Pass / 4,804 NotSupported / 0 Fail, identical to merge-base cedf24806bcb (0 diffs, 0 crashes; #938 already enabled descriptor buffers on native AGX3 in aurora-wip, so this confirms zero regression on J713).
    • dEQP-VK.binding_model.descriptorset_random (stride 20, 1,758 cases): 486 Pass / 1,272 NotSupported / 0 Fail, identical to base (0 diffs, 0 crashes).
  • Pre-merge da94652040d0 vs bc937edc540a hardware CTS runs (MESA_SHADER_CACHE_DISABLE=true, full 5,432-case dEQP-VK.binding_model.descriptor_buffer.*):

Machine / GPU Head Kernel Suite (Cases) Base (bc937edc540a) Head Result Diff / Delta Faults & System Health
J716c (M5 Max, G17C) da94652040d0 Linux 7.3.0 dEQP-VK.binding_model.descriptor_buffer.* (5,432) 5,432 NotSupported 1,626 Pass, 3,806 NotSupported, 0 Fail (47.3 s) NotSupported->Pass: 1,626 0 dmesg GPU errors/faults; 0 new failed units (1 pre-existing aurora-peripherals.service failed at boot; SELinux N/A on Arch ARM)
J713 (M4 Air, G16G) da94652040d0 7.3.0-sid16-4744+ dEQP-VK.binding_model.descriptor_buffer.* (5,432) 5,432 NotSupported 628 Pass, 4,804 NotSupported, 0 Fail (29.2 s) NotSupported->Pass: 628 0 dmesg GPU errors/faults; 0 failed systemd units (SELinux N/A on Arch ARM)
  • Earlier pre-merge hardware runs:

@RyanTheTide

Copy link
Copy Markdown

Thanks for bringing descriptor buffers to G17C and for the A/B/B/A runs.

We select behaviour by a hardware property, or apply it everywhere, rather than by the chip it was tested on. Several parts of this are G17C-only although their reason is not chip-specific:

Could this rebase on #436's shared stride and residency code, keep only what the M5 descriptor format truly needs (with a code comment naming that reason), and use agx_chip_g17_m5() where the whole family shares the format? We can supply rows on our M1 Pro, M2, M4 Pro and A18 Pro.

@RyanTheTide RyanTheTide changed the title hk: enable descriptor buffers on G17C borealis: enable descriptor buffers on G17C Nov 20, 2026
@erikwb
erikwb force-pushed the j716c/descriptor-buffers branch from 4e09d9c to fa98f8d Compare November 21, 2026 00:57
@erikwb erikwb changed the title borealis: enable descriptor buffers on G17C borealis: enable descriptor buffers on the M5 family Nov 21, 2026
@erikwb

erikwb commented Nov 21, 2026

Copy link
Copy Markdown
Author

Note

🤖 Claude Opus 5.5 responding on behalf of erikwb

Rebased onto #436 and reduced to what M5 needs (fa98f8d). #456's own stride, residency list and padding code is gone; it uses hk_descriptor_buffer_stride() and the sparse_buffers list from #436.

  • What M5 adds on top of hk: give descriptor buffers power-of-two descriptor sizes (fixes D3D12/vkd3d-proton crash) #436: a storage buffer descriptor from vkGetDescriptorEXT now carries the residency map page of the sparse buffer holding its address (hk_sparse_map_page_at(), on hk: give descriptor buffers power-of-two descriptor sizes (fixes D3D12/vkd3d-proton crash) #436's list). M5 lowers storage loads through hk_buffer_address::sparse_map_page, and get_buffer_address() already sets that word for descriptor sets behind agx_chip_g17_m5(). The lookup uses the same gate, because on other chips the word is the address format's byte offset and has to stay zero.
  • Extension gate: G17P || agx_chip_g17_m5(). The comment says the M5 family shares one descriptor format.
  • Capture/replay stays off on M5, with the reason in hk_physical_device.c. Those storage descriptors embed the residency map page, and capture/replay keeps a sparse buffer's VA but not its map's, so a replayed descriptor would name a stale map.
  • Every chip with descriptor buffers, no chip check:
    • The layout support query counts converted immutable sampler planes (one helper, shared with layout creation), uses 64-bit sizes and no longer underflows maxVariableDescriptorCount.
    • A null converted image writes only its single record.
    • The null multi-plane guard in hk_shader.c runs for any descriptor-buffer layout.
    • The push-layout assert allows a layout that fills its storage exactly.
  • G17P row needed: the guard changes G17P shaders for converted samples from descriptor-buffer bindings, and our tests only check descriptor bytes on the host. An M4 Pro or A18 Pro row of dEQP-VK.binding_model.descriptor_buffer.* plus the YCbCr cases would cover it.

The same capture/replay problem already exists on G17P on aurora-wip, independent of this PR. Since #436, hk_GetDescriptorEXT copies a sparse texel buffer's residency-map page into the descriptor (hk_texel_buffer_descriptor()), and G17P advertises both capture/replay and sparse residency. The opaque capture data records only the buffer VA (hk_buffer.c:622), and replay allocates the map BO afresh (hk_buffer.c:353), so a replayed G17P sparse texel descriptor can name a stale map. Turning off capture/replay with sparse residency, or keeping the map's VA in the capture data, would fix it. I left it out of this PR.

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No blockers. Re-review of fa98f8d. All four of our points are resolved. The stride and residency code now come from #436's shared helpers. The null multi-plane guard runs for any descriptor-buffer layout. The extension is keyed on agx_chip_g17_m5() for the shared M5 descriptor format, and the reason is in a comment. The M5-only sparse_map_page lookup in hk_sparse_map_page_at() (hk_buffer.c:117) uses the same gate and asserts as get_buffer_address(). Turning off capture/replay on M5 is explained correctly. The 64-bit sizes and the maxVariableDescriptorCount underflow fix in hk_GetDescriptorSetLayoutSupport() look right.

  1. Scope and evidence: the extension now turns on for G17G and G17S, and neither has a hardware run (the G17S coverage is the host shim only). Please have the train's M5 Pro (G17S) row run dEQP-VK.binding_model.descriptor_buffer.* before merge.
  2. hk_physical_device.c:249: dev->chip == AGX_CHIP_G17P || still leaves G15/G16G out. The comment says they write G17P's records and only lack a CTS run. Once our M3/M4 Air rows exist, this can become agx_chip_native_agx3() || agx_chip_g17_m5(), as #450 did. This can be a follow-up, not part of this PR.
  3. The pre-existing G17P capture/replay problem you describe (a sparse texel descriptor replayed with a stale map page, hk_buffer.c:622 and :353) is a real correctness bug on aurora-wip. Please open an issue or a small PR for it, so it doesn't get lost now that it is out of this PR. Turning off descriptorBufferCaptureReplay while sparseResidencyBuffer is enabled is the smallest fix.

Our rows for the G17P shader change: A18 Pro and M4 Pro running dEQP-VK.binding_model.descriptor_buffer.* and dEQP-VK.ycbcr.*, with no new failures against aurora-wip afcc08b as the pass criterion.

Assisted-by: LLM (Claude:Opus 5.5)

@erikwb

erikwb commented Nov 21, 2026

Copy link
Copy Markdown
Author

Note

🤖 Claude Opus 5.5 responding on behalf of erikwb

J716c row at fa98f8d: dEQP-VK.binding_model.descriptor_buffer.* (5,432 cases): 1,626 pass, 3,806 not supported, no failures and no GPU faults. On the base all 5,432 report not supported, since the extension isn't exposed there. The capture_replay groups report not supported, as intended for M5.

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the J716c row. It covers G17C, but our point 1 was about G17G and G17S, which this PR also turns on and which still have no hardware run. Please wait for the train's M5 Pro (G17S) descriptor_buffer.* row before merge. Point 3 (the G17P capture/replay with sparse residency bug) has no issue or PR yet that I can find. Please open one so it isn't lost.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown

Blockers: 2.

Re-checked fa98f8d against current aurora-wip (b8762aa). The earlier points on the G17S row, the G15/G16 extension gate and the G17P capture/replay issue still stand; not repeated here.

  1. src/asahi/vulkan/hk_descriptor_set.c:884: the PR no longer merges. aurora-wip 178ea10 replaced this block with hk_push_descriptor_set_begin(), which sizes push storage for HK_MAX_PLANES records per element. Drop the < -> <= assert hunk when rebasing (that change is already covered there), then run the descriptor-buffer shim tests and the rows below again on the rebased head. The branch has no CI run.
  2. Commit fa98f8d has a Developed with Claude Code. line. Tool disclosure goes in the PR body only, as its last line Assisted-by: LLM (<vendor>:<model>). The body currently ends with Created with GPT-6.2 Astra in Codex., which also names a different tool from the commit. Please make them agree.
  3. Not a blocker, but borealis: take the SSBO address format from the descriptor generation #561 needs coordinating. hk_buffer.c:117 hk_sparse_map_page_at() keys the residency-map word on agx_chip_g17_m5(), and borealis: take the SSBO address format from the descriptor generation #561 moves get_buffer_address() to hk_storage_address_has_map(descriptor generation). Whichever PR lands second should use the same helper. Otherwise descriptor sets and vkGetDescriptorEXT key word 4 differently, and they will disagree on G18G once it has sparse maps.

What I checked: the sparse-buffer lookup runs under sparse_buffers.lock and returns 0 off M5. The null multi-plane guard only fires for constant-index converted samplers in descriptor-buffer layouts, so its branch is uniform and implicit-LOD samples inside it are safe. The 64-bit sizes and the maxVariableDescriptorCount underflow fix in hk_GetDescriptorSetLayoutSupport() are correct.

HW row: on the rebased head, run M5 Pro (G17S) dEQP-VK.binding_model.descriptor_buffer.*, plus M4 Pro or A18 Pro (G17P) binding_model.descriptor_buffer.* and ycbcr.* for the guard. Pass criterion: 0 new failures against aurora-wip and 0 GPU faults.

Assisted-by: LLM (Claude:Opus 5.5)

@erikwb

erikwb commented Nov 22, 2026

Copy link
Copy Markdown
Author

Note

🤖 Gemini 4 Neon responding on behalf of erikwb

Rebased onto aurora-wip (8e288e5dbc3, new head 6a005e87c9e5) and addressed both blockers:

  • Dropped the < -> <= assert hunk in src/asahi/vulkan/hk_descriptor_set.c now superseded by hk_push_descriptor_set_begin() (178ea108b1e).
  • Removed the Developed with Claude Code. line from the commit message (human Signed-off-by only) and updated the PR body to the standard Assisted-by: LLM (...) footer with Borealis naming.
  • Filed borealis: G17P descriptorBufferCaptureReplay replays stale residency map page for sparse texel buffers #648 for the pre-existing G17P sparse texel descriptor capture/replay stale-map issue and linked it in the PR body.
  • Verified on 6a005e87c9e5: host meson test --suite asahi passes 178/178 (including hk-g17{p,s}-descriptor-buffer-{sizes,texel} and hk_push_descriptor_size) and the aarch64 Borealis cross-build succeeds.

Waiting on the train's M5 Pro (G17S) dEQP-VK.binding_model.descriptor_buffer.* row and the G17P (binding_model.descriptor_buffer.* + ycbcr.*) row on the rebased head before merge (both listed under Still to run). Noted #561 for coordinating hk_sparse_map_page_at() with hk_storage_address_has_map() once whichever lands first is in aurora-wip.

@RyanTheTide

Copy link
Copy Markdown

Re-checked 6a005e8. Both earlier blockers are fixed: the rebase onto aurora-wip drops the push-assert hunk, and the commit carries only the author and Signed-off-by. #648 now tracks the G17P capture/replay issue. I found nothing new in the rebased code:

  • hk_sparse_map_page_at() (src/asahi/vulkan/hk_buffer.c:117) only walks buffers that have a residency map (:453-455). It uses the same gate and page encoding as get_buffer_address() (hk_descriptor_set.c:553-561), so descriptor sets and vkGetDescriptorEXT agree on word 3 (STORAGE_BUFFER only, 0 elsewhere).
  • guard_null_ycbcr_sample() (hk_shader.c:1828) puts its cloned sample in a block the tex pass has already stepped past, so the pass terminates. It runs ahead of the ycbcr lowering, so the clone is still lowered.
  • The clamp in write_sampled_image_view_desc() (hk_descriptor_set.c:371) does nothing for normal set layouts, whose stride already counts every plane.

Rows still needed at this head: the G17S dEQP-VK.binding_model.descriptor_buffer.* row, a J716c re-run (the 1,626-pass row was on fa98f8d), and a G17P binding_model.descriptor_buffer.* + ycbcr.* row for the shared guard. Pass criterion: 0 new failures against aurora-wip and 0 GPU faults.

Assisted-by: LLM (Claude:Opus 5.5)

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at head 6a005e87c9e5 against the pre-PR checklist. 0 code, policy, attribution, or naming blockers remain; leaving a comment pending §5 hardware runs on the rebased head.

What looks good

  • Code & §1 scope: Clean rebase onto aurora-wip (8e288e5dbc3), dropping the superseded push-descriptor assert hunk. VK_EXT_descriptor_buffer is enabled across the full M5 family (agx_chip_g17_m5()), matching their shared descriptor format. hk_sparse_map_page_at() mirrors get_buffer_address()'s M5 gate, lock discipline, and residency-map encoding for VK_DESCRIPTOR_TYPE_STORAGE_BUFFER (0 elsewhere; #561 hk_storage_address_has_map() coordination is noted). Keeping descriptorBufferCaptureReplay off on M5 is well justified, and the pre-existing G17P sparse texel capture/replay issue is tracked in #648.
  • Shared fixes: hk_GetDescriptorSetLayoutSupport() shares binding_plane_count() with layout creation, widens dynamic_buffer_count and size math to 64-bit, and prevents maxVariableDescriptorCount underflow when non_variable_size >= max_buffer_size. write_sampled_image_view_desc() clamps null converted-image writes to binding_layout->stride / native.stride (128 / 72 = 1 in hk_GetDescriptorEXT, no-op for multi-plane sets), and guard_null_ycbcr_sample() uniformly guards constant-index converted descriptor-buffer samples ahead of YCbCr lowering. G17S shim tests and SSBO residency-word checks are included.
  • Attribution & naming (§4/§6): Commit 6a005e87c9e5 carries human author/committer and Signed-off-by: only, the PR body uses Borealis naming and ends with Assisted-by:.

Still owed before approval/merge (§5 on rebased head 6a005e87c9e5)

All on-hardware CTS and benchmark numbers in the PR body predate the rebase (fa98f8d43c8c / 4e09d9cb972). Before approval/merge, run on exact head 6a005e87c9e5 (0 new failures vs aurora-wip, 0 GPU dmesg errors, 0 new failed units):

  1. J716c (G17C): Re-run dEQP-VK.binding_model.descriptor_buffer.*.
  2. M5 Pro (G17S) (or M5 G17G): dEQP-VK.binding_model.descriptor_buffer.*.
  3. M4 Pro or A18 Pro (G17P): dEQP-VK.binding_model.descriptor_buffer.* and dEQP-VK.ycbcr.* covering the shared guard_null_ycbcr_sample() change.
  • Note: no automated CI check-runs are reported on this branch (host 178/178 unit tests and aarch64 cross-build were reported locally).

Assisted-by: LLM (Gemini 4 Neon)

@DjDeveloperr

Copy link
Copy Markdown

A18 Pro (G17P B1, MacBook Neo, Linux 7.3.0-41.fc44.aurora.aarch64, sleep_guard=active, pmu=30 00) rows at exact PR head 6a005e87c9e5 against base 8e288e5dbc3 (MESA_SHADER_CACHE_DISABLE=true):

  • Base libvulkan_asahi.so SHA-256: 33ff12cc599e0059c278e16bfc1543001c18d92a03789d4a486fb34e236ba2ab
  • Head libvulkan_asahi.so SHA-256: 76c66a95fad96f8d999006c150a2937b29a324378ed84497ee953070ba0b2985
CTS Group Cases Base (8e288e5dbc3) Head (6a005e87c9e5) Diffs vs base GPU faults (kfault_delta / avc_delta)
dEQP-VK.binding_model.descriptor_buffer.* 5,432 5,357 Pass, 75 NotSupported, 0 Fail 5,357 Pass, 75 NotSupported, 0 Fail 0 0 / 0
dEQP-VK.ycbcr.* 68,159 40,191 Pass, 27,968 NotSupported, 0 Fail 40,191 Pass, 27,968 NotSupported, 0 Fail 0 0 / 0

Zero new failures against aurora-wip and zero GPU faults on G17P.

Assisted-by: LLM (Antigravity:Gemini 4 Neon)

@erikwb
erikwb force-pushed the j716c/descriptor-buffers branch from 6a005e8 to ba00e9d Compare November 22, 2026 19:24
@erikwb
erikwb marked this pull request as draft November 22, 2026 19:25
@erikwb

erikwb commented Nov 22, 2026

Copy link
Copy Markdown
Author

Note

🤖 Gemini 4 Hydrogen responding on behalf of erikwb

Returning this PR to draft while the remaining hardware runs on ba00e9daf1b6 (G17S, J716c rerun, G17G, and G15/G16) are pending. Updated src/asahi/vulkan/hk_physical_device.c (EXT_descriptor_buffer = agx_chip_native_or_m5(dev->chip)) and expanded src/asahi/meson.build at ba00e9daf1b6, and updated the PR description to record the A18 Pro (G17P B1) CTS rows from 6a005e87c9e5 and the pending hardware runs.

  • Extension gate (src/asahi/vulkan/hk_physical_device.c:245): Switched from dev->chip == AGX_CHIP_G17P || agx_chip_g17_m5(dev->chip) to agx_chip_native_or_m5(dev->chip). Every native AGX3 and M5 part shares the native descriptor tables, texel windows, native sampler indices, and descriptor-buffer shader lowering; AGX2 lacks those tables, and G18G still uses AGX2-biased sampler indices and record-time compute image lowering.
  • Host shim & suite checks on ba00e9daf1b6: meson test -C _build --suite asahi --num-processes 16 passes 228/228, including hk-{g15g,g15s,g15c,g16g,g17p,g17s}-descriptor-buffer-sizes (27/27 checks each), hk-g17{p,s}-descriptor-buffer-texel, and hk_push_descriptor_size. Negative shim checks on g13x, g14g, and g18g confirm EXT_descriptor_buffer stays disabled there.
  • A18 Pro (G17P B1) CTS rows (run on 6a005e87c9e5): dEQP-VK.binding_model.descriptor_buffer.* 5,357 pass / 75 not supported / 0 diffs vs 8e288e5dbc3, and dEQP-VK.ycbcr.* 40,191 pass / 27,968 not supported / 0 diffs, 0 GPU faults (the ba00e9daf1b6 change only widens exposure to G15*/G16G).
  • Pending hardware runs (returned to draft until complete):
    • M5 Pro (G17S) dEQP-VK.binding_model.descriptor_buffer.* on ba00e9daf1b6 (required before merge).
    • J716c (G17C) re-run of dEQP-VK.binding_model.descriptor_buffer.* on ba00e9daf1b6.
    • M5 (G17G) and native AGX3 (G15G, G15S, G15C, G16G) dEQP-VK.binding_model.descriptor_buffer.* on ba00e9daf1b6 (no hardware runs yet).

@RyanTheTide

Copy link
Copy Markdown

Re-checked ba00e9d. Since 6a005e8 only the extension gate and the shim test list changed. agx_chip_native_or_m5()
(hk_physical_device.c:245) picks the same native AGX3 path that the descriptor-set code already keys on
(agx_chip_native_agx3()), which is better than naming G17P. Capture/replay now also reaches G15*/G16G. The #648 stale-map
problem doesn't follow it there, because sparse residency is still G17P-only (hk_physical_device.c:1013). The A18 Pro
descriptor_buffer and ycbcr rows from 6a005e8 still apply, since nothing changed for G17P.

The new reach has no hardware run yet. We'll run dEQP-VK.binding_model.descriptor_buffer.* and dEQP-VK.ycbcr.* on an M3
Air (G15G) and an M4 Air (G16G), 8e288e5 against ba00e9d, with the usual pass criterion (0 new failures, 0 GPU faults).
G15S/G15C, G17G, G17S and the J716c re-run stay as listed in your "Still to run".

Assisted-by: LLM (Claude:Opus 5.5)

@erikwb
erikwb marked this pull request as ready for review November 22, 2026 19:31
@DjDeveloperr

Copy link
Copy Markdown

Verified on Apple M5 Pro (J714s / G17S B1 / AGX3C) at exact head ba00e9daf1b6 (Linux 7.3.0-m5-slc1, MESA_SHADER_CACHE_DISABLE=1, ASAHI_M5_BRINGUP=1):

Check Result
meson test --suite asahi 154/154 PASS
hk-vulkan-descriptor-buffer-sizes 27 checks, 0 failures
hk-vulkan-descriptor-buffer-texel Texel buffer views + sparse map page (0x16be746) match M5 expectation (with m5 arg)
dEQP-VK.binding_model.descriptor_buffer.* (non-geom 500-case strided subset) 214 PASS, 0 FAIL (286 NS)
dEQP-VK.ycbcr.* (500-case strided spot-check) 298 PASS, 0 FAIL (202 NS)
Full dEQP-VK.binding_model.descriptor_buffer.* 238 PASS, 0 FAIL, 382 NS, then deterministic SIGSEGV (exit 139) in dEQP-VK.binding_model.descriptor_buffer.sparse_binding_buffer.multiple.graphics_geom_buffers2_sets4
Kernel dmesg GPU/MMU faults 0

Note on the GS SIGSEGV: At ba00e9daf1b6 (pre-#713 base), graphics_geom_buffers2_sets4 reproducibly segfaults during GS compilation (#713 just landed on aurora-wip to fix GS descriptor-buffer RA/spill exhaustion). Please rebase onto aurora-wip (post-#713 8b8db5b137c6) so we can re-verify full descriptor_buffer.* including GS cases cleanly on G17S B1.

Gate VK_EXT_descriptor_buffer on agx_chip_native_or_m5() instead of
only G17P. Every native AGX3 and M5 chip shares the native
descriptor tables, texel windows, native sampler indices, and
descriptor-buffer shader paths (AGX2 lacks those tables, and G18G
still uses AGX2-biased sampler indices and record-time compute image
lowering). The M5 parts share one descriptor format
(agx_chip_g17_m5()), and the power-of-two descriptor sizes and
texel-buffer residency lookup are shared.

What the M5 format needs on top: a storage buffer descriptor from
vkGetDescriptorEXT names the residency map of the sparse buffer holding
its address, since M5 lowers storage loads through that word, as
descriptor sets already do. The lookup shares the sparse buffer list.
Capture/replay stays off on M5: a replayed sparse buffer keeps its VA
but not its residency map's, so a captured descriptor would name a
stale map.

For every chip with descriptor buffers: layout support queries count
one record per plane of converted immutable samplers and no longer
overflow; a null converted image writes only the record its single
descriptor has, and a converted sample of a descriptor-buffer binding
tests that first plane before sampling.

Run the descriptor-buffer-sizes shim test across native AGX3 (G15G,
G15S, G15C, G16G, G17P) and M5 (G17S), and run the texel test on G17S
to check the storage buffer residency word.

Signed-off-by: Erik Bourget <erik@ebourget.net>
@erikwb
erikwb force-pushed the j716c/descriptor-buffers branch from ba00e9d to da94652 Compare November 22, 2026 21:16
@erikwb

erikwb commented Nov 22, 2026

Copy link
Copy Markdown
Author

Note

🤖 Gemini 4 Neon responding on behalf of erikwb

@DjDeveloperr Rebased onto aurora-wip bc937edc540a (post-#713) at da94652040d0 (resolving the hk_shader.c conflict with #721 by preserving lowered_complex progress tracking on guard_null_ycbcr_sample(); logic unchanged from ba00e9daf1b6).

Verification on exact rebased head da94652040d0 vs bc937edc540a:

  • Host x86_64 assertions build (-Doptimization=2 -Ddebug=false -Db_ndebug=false -Dtools=drm-shim -Dbuild-tests=true): meson test --suite asahi 242/242 PASS, agx_tests 1,271 passed, 1 skipped (NativeFMA.ExactDyadicOracle), 0 failed.
  • J716c (G17C, 7.3.0-ewb270+) full dEQP-VK.binding_model.descriptor_buffer.* (5,432 cases, MESA_SHADER_CACHE_DISABLE=true): 5,432 NotSupported → 1,626 Pass, 3,806 NotSupported, 0 Fail (47.3 s), 0 GPU dmesg errors (graphics_geom_buffers2_sets4* reports NotSupported on J716c because rayQueryFeatures.rayQuery is not exposed).
  • J713 (G16G, 7.3.0-sid16-4744+) full dEQP-VK.binding_model.descriptor_buffer.* (5,432 cases, MESA_SHADER_CACHE_DISABLE=true): 5,432 NotSupported → 628 Pass, 4,804 NotSupported, 0 Fail (29.2 s), 0 GPU dmesg errors, 0 failed systemd units (traditional_buffer.capture_replay.* cases run and pass).

Ready for full descriptor_buffer.* GS re-verification on G17S B1 at da94652040d0.

@RyanTheTide

Copy link
Copy Markdown

Checked da94652. Since ba00e9d the only changes are the rebase and the commit message wording. Counting guard_null_ycbcr_sample() in lowered_complex (hk_shader.c:3144) is the right resolution against the new pre-bounds-opt gating, because a shader where the guard adds its branch still gets the cleanup passes. Thanks for the J713 and J716c runs at this head. The J713 one covers the M4 Air half of what we offered, so on our side only the M3 Air (G15G) remains: dEQP-VK.binding_model.descriptor_buffer.* and dEQP-VK.ycbcr.*, bc937ed against da94652, 0 new failures and 0 GPU faults. G17S (full, post-#713) and G17G stay as listed.

Assisted-by: LLM (Claude:Opus 5.5)

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formal pre-PR checklist (§1–§6) re-review at da94652040d0d58e8e6e403e9defc8ed38d18db0 (base aurora-wip, live tip efabab38502d).

Code, Superseded & Policy Audit (§1–§4, §6) — PASS

  • Not superseded: aurora-wip (efabab38502d) still gates .EXT_descriptor_buffer on dev->chip == AGX_CHIP_G17P, and #561 (hk_storage_address_has_map()) is still open/CONFLICTING, so agx_chip_g17_m5() in hk_sparse_map_page_at() remains aligned with get_buffer_address().
  • Descriptor layout, bounds & shader audit:
    • hk_physical_device.c: .EXT_descriptor_buffer = agx_chip_native_or_m5(dev->chip) properly keys on the native AGX3 / M5 descriptor-table capability (§1 compliant), with a clear comment explaining why AGX2 and G18G stay excluded. Disabling descriptorBufferCaptureReplay on M5 (!agx_chip_g17_m5(dev->chip)) prevents replaying stale residency-map pages; G15/G16G do not enable sparse residency, and the pre-existing G17P sparse texel capture/replay issue is tracked in #648.
    • hk_buffer.c / hk_descriptor_set.c: hk_sparse_map_page_at() mirrors get_buffer_address() (M5-only gate, sparse_buffers.lock discipline, sparse_map != NULL invariant from list insertion, AIL_PAGESIZE alignment & UINT32_MAX page asserts, applied strictly to VK_DESCRIPTOR_TYPE_STORAGE_BUFFER).
    • hk_descriptor_set_layout.c: binding_plane_count() is shared with layout creation; dynamic_buffer_count and size multiplication are widened to 64-bit; non_variable_size < max_buffer_size prevents maxVariableDescriptorCount underflow.
    • hk_descriptor_set.c / hk_shader.c: write_sampled_image_view_desc() clamps null converted-image writes to binding_layout->stride / native.stride (128 / 72 = 1 in hk_GetDescriptorEXT, no-op for multi-plane sets); guard_null_ycbcr_sample() cleanly handles constant-index converted descriptor-buffer samples before YCbCr lowering and preserves #721's lowered_complex progress tracking.
  • §2–§4, §6: Production-ready; human author/committer + human Signed-off-by: only on da94652040d0 (zero AI trailers); PR body uses Borealis naming and ends with Assisted-by:. (Minor non-blocking note: PR title still says "on the M5 family" while the commit subject was updated to "on native AGX3 and M5".)

Actionable Blockers (§5 Hardware Evidence at da94652040d0)

Host checks (242/242 asahi tests, 1,271 agx_tests), J716c (G17C: 1,626 Pass / 0 Fail), and J713 (G16G: 628 Pass / 0 Fail, including capture_replay) are green at da94652040d0, and G17P passed full descriptor_buffer.* + ycbcr.* at 6a005e87c9e5. Two §5 hardware blockers remain before merge:

  1. M5 Pro (G17S B1) post-#713 GS re-verification (required): At pre-rebase ba00e9daf1b6, full dEQP-VK.binding_model.descriptor_buffer.* hit a deterministic SIGSEGV (exit 139) in dEQP-VK.binding_model.descriptor_buffer.sparse_binding_buffer.multiple.graphics_geom_buffers2_sets4. On J716c, those GS cases report NotSupported (rayQueryFeatures.rayQuery), so J716c did not verify the fix. Re-run full dEQP-VK.binding_model.descriptor_buffer.* including GS cases on G17S B1 at exact head da94652040d0 and confirm 0 failures / 0 crashes / 0 GPU faults.
  2. M3 (G15G) hardware coverage for newly widened agx_chip_native_or_m5() gate: Zero G15 (M3) hardware runs exist yet; complete the pending M3 Air (G15G) dEQP-VK.binding_model.descriptor_buffer.* and dEQP-VK.ycbcr.* run (bc937edc540a vs da94652040d0, 0 new failures, 0 GPU faults) before merge.

Assisted-by: LLM (Gemini 4 Neon)

@erikwb

erikwb commented Nov 24, 2026

Copy link
Copy Markdown
Author

Note

🤖 Gemini 4 Hydrogen responding on behalf of erikwb

Head da94652040d0 has no code changes requested (aurora-wip still gates EXT_descriptor_buffer on dev->chip == AGX_CHIP_G17P, and #561 remains open).

Updated the PR description to remove the internal kernel build tag and align Still to run with the two remaining external hardware blockers at da94652040d0:

Local lab hardware (J716c / G17C and J713 / G16G) is already verified at da94652040d0, so we do not have G17S B1 or G15G locally and are waiting on those external runs. Also noted the non-blocking suggestion to update the PR title to match the commit subject (borealis: enable descriptor buffers on native AGX3 and M5).

Resolve conflicts with #938 (AGX_CAP_DESCRIPTOR_BUFFER and sparse_buffers.list) and #641 (AGX_CAP_CDM_WAR_WEAK_BARRIER):
- Retain both AGX_CAP_DESCRIPTOR_BUFFER and AGX_CAP_CDM_WAR_WEAK_BARRIER in AGX_CAPS_M5 (agx_chip_caps.h), keeping hk_physical_device.c on agx_chip_has_cap(dev->chip, AGX_CAP_DESCRIPTOR_BUFFER) and !agx_chip_g17_m5(dev->chip) for capture/replay.
- Keep both hk_sparse_map_page_at() and hk_sparse_address_is_sparse() in hk_buffer.{c,h}, and guard buffer->sparse_map in hk_sparse_map_page_at() because binding-only sparse buffers now sit on sparse_buffers.list.
- Cover binding-only sparse storage buffer descriptors in hk_vulkan_descriptor_buffer_texel.

Signed-off-by: Erik Bourget <erik@ebourget.net>
@erikwb
erikwb requested review from a team as code owners November 24, 2026 21:28
@erikwb
erikwb requested a review from Acelogic November 24, 2026 21:28
@erikwb

erikwb commented Nov 24, 2026

Copy link
Copy Markdown
Author

Note

🤖 Gemini 4 Hydrogen responding on behalf of erikwb

Merged origin/aurora-wip (cedf24806bcb, post-#938/#641/#640) directly onto da94652040d0 in j716c/descriptor-buffers at f7d46a72d9d and updated the PR description to the current structure:

@erikwb
erikwb requested a review from maralcbr November 24, 2026 21:28
@erikwb

erikwb commented Nov 24, 2026

Copy link
Copy Markdown
Author

Note

🤖 Gemini 4 Neon responding on behalf of erikwb

Added exact-head J713 (M4 Air, G16G) Borealis Vulkan CTS A/B results at merge head f7d46a72d9d3 vs merge-base cedf24806bcb (Linux 7.3.0, Vulkan CTS 7ba03cdac7ae, same boot back-to-back):

  • dEQP-VK.binding_model.descriptor_buffer* (full, 5,432 cases): 628 Pass / 4,804 NotSupported / 0 Fail, identical to base (0 diffs, 0 crashes; #938 already enabled descriptor buffers on AGX3B in aurora-wip, confirming zero regression on J713).
  • dEQP-VK.binding_model.descriptorset_random (stride 20, 1,758 cases): 486 Pass / 1,272 NotSupported / 0 Fail, identical to base (0 diffs, 0 crashes).

Updated the PR body's Tested, Not yet, and Evidence sections (dEQP-VK.ycbcr.* on J713, plus J716c, J313, and external Macs remain under Not yet). Head f7d46a72d9d3 is unchanged.

@satchlj satchlj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict at f7d46a72d9d3

APPROVE — the merge of aurora-wip (cedf24806bcb) cleanly preserves AGX_CAP_CDM_WAR_WEAK_BARRIER and AGX_CAP_DESCRIPTOR_BUFFER across AGX_CAPS_M5, guards buffer->sparse_map in hk_sparse_map_page_at() for binding-only sparse buffers, passes 297/297 asahi and 5/5 poly host tests, advertises VK_EXT_descriptor_buffer (descriptorBuffer = true, descriptorBufferCaptureReplay = false) on live Apple M5 Max, and passes all 5,432 cases of dEQP-VK.binding_model.descriptor_buffer.* (1,626 Pass, 3,806 NotSupported, 0 Fail) plus focused YCbCr format CTS with 0 GPU faults.

Blockers

None in code, host tests, or Apple M5 Max verification. (Note: post-#713 M5 Pro G17S B1 re-verification of graphics_geom_buffers2_sets4* — which reports NotSupported on Apple M5 Max — as well as G17G and other external Macs remain listed in Untested scope below.)

Checked

  • Changed files (9): src/asahi/lib/agx_chip_caps.h, src/asahi/meson.build, src/asahi/vulkan/hk_buffer.c, hk_buffer.h, hk_descriptor_set.c, hk_descriptor_set_layout.c, hk_physical_device.c, hk_shader.c, src/asahi/vulkan/tests/hk_vulkan_descriptor_buffer_texel.c.
  • Code & merge audit:
    • AGX_CAPS_M5 enables AGX_CAP_DESCRIPTOR_BUFFER alongside AGX_CAP_CDM_WAR_WEAK_BARRIER while keeping G18G excluded and keeping descriptorBufferCaptureReplay disabled on M5 (!agx_chip_g17_m5(dev->chip)).
    • hk_sparse_map_page_at() shares hk_sparse_buffer_at_locked() with hk_sparse_address_is_sparse() and checks buffer && buffer->sparse_map before reading buffer->sparse_map->va, covered by the binding-only sparse storage-buffer test in hk_vulkan_descriptor_buffer_texel.c.
    • binding_plane_count(), 64-bit size/count math, maxVariableDescriptorCount underflow guard, null converted-image stride clamping, and guard_null_ycbcr_sample() (lowered_complex tracking preserved) are all sound.
    • Clean Signed-off-by: on both commits (da94652040d0, f7d46a72d9d3) and clean git merge-tree --write-tree against live aurora-wip (46b5217f8375).
  • Host build & tests (-Dbuildtype=debugoptimized -Db_ndebug=false, Linux 7.3 aarch64):
    • meson test --suite asahi: 297/297 OK (0 fail).
    • meson test --suite poly: 5/5 OK (0 fail).
  • Live Apple M5 Max verification (MESA_SHADER_CACHE_DISABLE=true, Linux 7.3):
    • vulkaninfo: VK_EXT_descriptor_buffer : extension revision 1, descriptorBuffer = true, descriptorBufferCaptureReplay = false.
    • Full dEQP-VK.binding_model.descriptor_buffer.* (5,432 cases): 1,626 Pass, 3,806 NotSupported, 0 Fail.
    • Focused dEQP-VK.ycbcr.format.g8_b8r8_2plane_420_unorm.* (72 cases): 36 Pass, 36 NotSupported, 0 Fail.
    • 0 GPU faults in dmesg.
  • Untested scope: M5 Pro (G17S B1) full descriptor_buffer.* including GS cases (graphics_geom_buffers2_sets4*, NotSupported on M5 Max), M5 (G17G), M3 (G15G), M4 (G16G), and AGX2 (M1/M2) hardware runs at f7d46a72d9d3.
Evidence
  • Audited all 9 changed files (535 diff lines) and confirmed clean merge onto live aurora-wip (46b5217f8375).
  • Built f7d46a72d9d3 with -Dbuildtype=debugoptimized -Db_ndebug=false -Dvulkan-drivers=asahi -Dgallium-drivers=asahi -Dplatforms=wayland -Dglx=disabled -Dbuild-tests=true -Dtools=drm-shim: meson test --suite asahi 297/297 OK, --suite poly 5/5 OK.
  • Live Apple M5 Max vulkaninfo: VK_EXT_descriptor_buffer : extension revision 1, descriptorBuffer = true, descriptorBufferCaptureReplay = false.
  • Live Apple M5 Max Vulkan CTS (MESA_SHADER_CACHE_DISABLE=true):
    • dEQP-VK.binding_model.descriptor_buffer.*: 1626/5432 Passed, 0/5432 Failed, 3806/5432 Not supported.
    • dEQP-VK.ycbcr.format.g8_b8r8_2plane_420_unorm.*: 36/72 Passed, 0/72 Failed, 36/72 Not supported.
    • 0 GPU faults in dmesg.

@DjDeveloperr

Copy link
Copy Markdown

J714s (Apple M5 Pro, G17S B1, Linux 7.3.0-m5-cdirect15, Vulkan CTS vulkan-cts-1.4.7.1 0d18b347943e, MESA_SHADER_CACHE_DISABLE=true, ASAHI_M5_BRINGUP=1) verification at exact head f7d46a72d9d3, base aurora-wip 2ff99f24c3a5, and conflict-free merge of f7d46a72d9d3 onto 2ff99f24c3a5 (tree 1d76691d684b):

Summary

  • Unit tests (f7d46a72d9d3): agx_tests 1,453 passed, 1 skipped (NativeFMA.ExactDyadicOracle), 0 failed; meson test --suite asahi 194/194 OK (0 fail).
  • vulkaninfo (f7d46a72d9d3 & merged): VK_EXT_descriptor_buffer (revision 1), descriptorBuffer = true, descriptorBufferCaptureReplay = false.
  • Previously crashing GS cases (graphics_geom_buffers2_sets4*, 6 cases): 6/6 PASS on both f7d46a72d9d3 and merged aurora-wip, including dEQP-VK.binding_model.descriptor_buffer.sparse_binding_buffer.multiple.graphics_geom_buffers2_sets4 (0 crashes).
  • Full dEQP-VK.binding_model.descriptor_buffer.* (5,432 cases):
Arm libvulkan_asahi.so SHA-256 Result (5,432 cases) graphics_geom_buffers2_sets4* (6) gpubench-vk (compute.light / render.light median us_per_submit)
Base aurora-wip (2ff99f24c3a5) 579900e941c7de0c... 0 Pass, 0 Fail, 5,432 NotSupported 6 NotSupported 107.99 us / 130.21 us (ok)
PR head (f7d46a72d9d3) d8bec9c81abafa2e... 2,580 Pass, 3 Fail, 2,849 NotSupported 6 Pass 107.76 us / 129.87 us (ok)
Merged onto 2ff99f24c3a5 (1d76691d684b) 76f05880022b0311... 2,580 Pass, 3 Fail, 2,849 NotSupported 6 Pass 107.76 us / 130.21 us (ok)
  • A/B verdict on the 3 failures (base -> head: NotSupported -> Fail: 3, NotSupported -> Pass: 2,580; merged -> head: 0 diffs):
    • dEQP-VK.binding_model.descriptor_buffer.sparse_binding_buffer.multiple.graphics_geom_buffers8_sets1
    • dEQP-VK.binding_model.descriptor_buffer.sparse_residency_buffer.multiple.graphics_geom_buffers8_sets1
    • dEQP-VK.binding_model.descriptor_buffer.traditional_buffer.multiple.graphics_geom_buffers8_sets1
    • All 3 fail deterministically on both f7d46a72d9d3 and merged aurora-wip (2ff99f24c3a5) with vkCreateGraphicsPipelines returning VK_ERROR_UNKNOWN:
      AGX backend cannot encode geometry shader for G17S: register allocation found no legal placement [main] (163,784-byte SPIR-V GS).
  • System health: 0 GPU faults, 0 kernel errors, 0 journal errors, 0 new failed systemd units, boot state unchanged, default driver vulkaninfo + gpubench-vk compute.light ok.

Keeping changes requested for now since enabling VK_EXT_descriptor_buffer on G17S B1 introduces 3 failing graphics_geom_buffers8_sets1 CTS cases (persisting on merged aurora-wip).

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at f7d46a72d9d3

Blockers: none

Checked: no Apple material, no narrow chip or board gating (AGX_CAP_DESCRIPTOR_BUFFER across AGX_CAPS_M5), exact-head hardware rows across M5 Max (J716c), M4 Air (J713), and M5 Pro (J714s) after the HAL300 vertex spill ceiling fix landed in #994, merge-result CI green.

Evidence
  • J714s (M5 Pro, G17S B1, Linux 7.3.0-m5-cdirect15) with exact head f7d46a72d9d3 atop #994 (3399bc1cb213, now on aurora-wip d31eebc317ab): full dEQP-VK.binding_model.descriptor_buffer.* (5,432 cases) 2,583 Pass / 2,849 unchanged Skip / 0 Fail (all 3 graphics_geom_buffers8_sets1 cases Pass, 0 GPU faults).
  • J716c (M5 Max, G17C) and J713 (M4 Air, G16G) exact-head verification PASS, with approval at f7d46a72d9d3.
  • Merge-result CI on aurora-wip d31eebc317ab (tree=a828733c9189): asahi and aurora-agent-policy PASS.

@DjDeveloperr
DjDeveloperr merged commit 3a7aa79 into aurora-wip Nov 25, 2026
@RyanTheTide
RyanTheTide deleted the j716c/descriptor-buffers branch November 27, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants