Repository navigation
agx: trim unused trailing vector memory load channels after address lowering - #877
Conversation
…lowering Add a targeted agx_nir_shrink_memory_loads() pass in agx_optimize_nir() before addressing lowering to drop unused trailing channels from non-volatile UBO/SSBO/global/constant/push-constant vector loads without introducing address-offset arithmetic. Preserves scratch load widths (required for AGX3 16-bit dynamic stack loads) and 4-component ACCESS_BUFFER_DESCRIPTOR_AGX loads (required for preamble speculation). Signed-off-by: Erik Bourget <erik@ebourget.net>
There was a problem hiding this comment.
Verdict merge at 8d56adc5738a. Thanks, Erik.
Blockers none.
Checked
c5f074c59ef4moves the trim after address lowering,agx_nir_opt_select_load()and CSE. Loads that still match (same intrinsic, sources, base, format, sign extension and range) keep the widest width any of them needs, so CSE and select_load can still merge them.- On
load_agxandload_constant_agx, only plain R8/R16/R32 formats are trimmed; packed counts and W8-word unpacks keep their width. Divergent loads are trimmed only when that lowers their power-of-two register width. Descriptor and volatile loads are still left alone. - The J700 re-test at this head clears the earlier RT spill and FPS drop, and RT CTS is 675/0/14. The J713, J716c and J313 rows at this head show no CTS differences.
- Not a blocker: the sibling search compares every pair of loads in a function, which costs compile time only on very large shaders.
G17P B1 verification: base
|
| kernel | native | spills / fills |
|---|---|---|
ray-query traversal CS e9a829388a690843 (10 rows, also b3a34fd16285dce7) |
1,966 → 1,974 | 0 → 2 / 0 → 5 |
ray-tracing pipeline 60f3947b463257df (2 rows) |
2,449 → 2,654 (+8.4%) | 0 → 2 / 0 → 7 |
- Elsewhere on G17P: shader-db −80 GPRs, native +10 (1 row better, 10 worse); GB6 and vk-synth +1 each.
G16G:
- gpubench native −54 (9 rows better).
- One ray-tracing fragment shader (9 rows) goes 39 → 47 GPRs at the same 1,024 threads.
- shader-db −80 GPRs.
G17S:
- gpubench native −49 and preamble −20 (20 rows better, 0 worse).
- shader-db −64 GPRs.
No new failures on any chip.
Hardware: MacBook Neo (Apple A18 Pro, G17P B1)
- Kernel:
7.3.0-41.fc44.aurora.aarch64, Mesa cross-built for both arms:- base
9322511c94e+0, tarball sha256d582dadb3c6433eabfb5d2d7ac45fd7fef7b907ce375e459e0c94d56b19b5397 - head
6220042c7bc+0, tarball sha256603ce3022971d18e594eaa437fa2c2a77439adf1f352aa44bb591f1147ca832d
- base
- Setup: GPU held exclusively for the run,
MESA_SHADER_CACHE_DISABLE=true. - gpubench (suite
b701a2b): run base, head, head, base. Every run passed its correctness check.- Ray-tracing tests:
--warmup-ms 500 --runs 3 --run-ms 500. - Other tests:
--depths 1 --warmup-ms 100 --runs 3 --run-ms 400.
- Ray-tracing tests:
| test | base | head | change |
|---|---|---|---|
rt.scene preset=medium trace=pipeline (fps) |
56.03 / 55.97 | 54.74 / 54.72 | −2.27% |
rt.scene preset=medium trace=query (fps) |
65.87 / 65.65 | 65.75 / 65.79 | +0.02% |
rt.rays preset=medium kind=coherent (Mrays/s) |
406.3 / 404.5 | 407.8 / 406.1 | +0.38% |
rt.rays preset=medium kind=incoherent (Mrays/s) |
284.1 / 284.0 | 284.9 / 284.5 | +0.23% |
compute.heavy kind=alu (µs/submit) |
1388.9 / 1388.9 | 1388.9 / 1393.7 | +0.17% |
compute.heavy kind=bw (µs/submit) |
2857.1 / 2857.1 | 2857.1 / 2836.9 | −0.35% |
compute.uber kind=divergent (µs/submit) |
1246.1 / 1250.0 | 1250.0 / 1250.0 | +0.16% |
render.heavy kind=fill res=1080p (µs/submit) |
688.5 / 684.9 | 684.9 / 683.8 | −0.34% |
- Pipeline-trace scene: frame time goes 17.86 → 18.27 ms (+2.3%), and the base and head runs don't overlap. That is the pipeline kernel that grows and spills in the corpus.
- Query-trace scene: flat despite its traversal kernel's two new spills.
rt.raysincoherent: its +0.23% doesn't overlap but is within the noise of this short run.- Everything else: overlaps.
Conformance (head):
- Vulkan CTS:
ssbo.layout.single_basic_type,ubo.single_basic_type,spirv_assembly.instruction.compute.{8bit,16bit}_storage. 4,857 cases: 3,980 pass, 0 fail, 877 not supported. - GLES3
functional.{ubo.single_basic_type,shaders.indexing}: 1,696 / 1,696. - Kernel log over both runs: 0 new GPU faults, 0 fault-pattern lines.
Likely cause: trimming a ray-tracing kernel's trailing load channels changes how its values are packed into vector registers, at a point where the kernel already uses the whole 191-GPR file. A fix should keep the ray-tracing pipeline kernel at 0 spills on G17P. One option is to trim only where the narrowed load doesn't raise register demand; another is to leave loads that feed vector values alone.
Signed-off-by: Erik Bourget <erik@ebourget.net>
Require every use (including if-uses and scalar mov chains) of a candidate vector load to terminate in scalar non-packing ALU ops, matching the pass invariant and preserving vector register packing/coalescing affinity. Also add unit tests covering scalar trimming, vector/pack/non-ALU skips, trimmed f16 vec3 packing on AGX2/AGX3B/AGX3C, and zero-spill G16G/G17P vector-load compilation. Signed-off-by: Erik Bourget <erik@ebourget.net>
Signed-off-by: Erik Bourget <erik@ebourget.net>
|
Note 🤖 Gemini 4 Hydrogen responding on behalf of erikwb Updated the PR branch against
|
satchlj
left a comment
There was a problem hiding this comment.
Verdict at d14a9373101d
APPROVE. The pass safely trims unused trailing components from multi-component NIR memory loads when all uses are scalar ALU chains (avoiding vector-constructing, packing, non-ALU, scratch, descriptor, and volatile loads), builds cleanly with assertions enabled, and passes the full Meson test suite plus targeted live Vulkan CTS on Apple M5 Max with zero failures or GPU faults.
Blockers
None.
Checked
- Audited all 5 changed files (
+353/-0) at exact headd14a9373101dacross all 4 commits (src/asahi/compiler/agx_compile.c,src/asahi/compiler/agx_nir.h,src/asahi/compiler/meson.build,src/asahi/compiler/test/test-agx3-pack-binary.cpp,src/asahi/compiler/test/test-shrink-memory-loads.cpp):- Pass placement (
agx_nir_shrink_memory_loadsright beforeagx_nir_lower_address) preserves invariants:nir_lower_mem_access_bit_sizeshas already run,agx_nir_lower_addressdoes not depend on divergence metadata, and subsequent passes that need divergence (agx_nir_opt_uniform_stride_chains,nir_opt_uniform_subgroup) recomputenir_divergence_analysis. - Narrowing predicate only touches
load_ubo,load_ssbo,load_global,load_global_constant,load_constant, andload_push_constantwithnum_components > 1, skippingload_scratch,ACCESS_BUFFER_DESCRIPTOR_AGX, andACCESS_VOLATILE. agx_def_only_scalar_alu_uses()rejectsif-uses, non-ALU uses, multi-component ALU destinations, andnir_op_pack_*ops while chasing scalarnir_op_movchains up to depth 4;util_last_bit(nir_def_components_read(&intr->def))(rounded up to power-of-two above 4) keeps intermediate channels intact for sparse read masks so downstream swizzles remain valid.- Verified
agx_emit_loadhandles 1–4 component loads across 8-, 16-, and 32-bit element sizes. - Verified clean merge onto current
aurora-wip(876b22c82bd8) viagit merge-tree --write-tree.
- Pass placement (
- Built exact head
d14a9373101don Linux 7.3 (-Dbuildtype=release -Db_ndebug=false -Dbuild-tests=true) and ran the full Meson test suite:224/224passed (0failed), including all 4 new/updated unit tests (ShrinkMemoryLoadsTest.*andAGX3PackBinary.TrimmedF16Vec3MemoryLoadsPack). - Ran live Vulkan CTS (
MESA_SHADER_CACHE_DISABLE=1) on Apple M5 Max against the built Borealis ICD across SSBO/UBOvec3/vec4, 8-bit and 16-bit storage, push-constant, buffer-access robustness, and memory-model suites:1009passed,0failed,107not supported (1116total), with0GPU faults indmesg. - Untested scope: Live ray-tracing spill/performance re-measurement on G16G/G17P hardware (noted in the PR description) was not run in this verification pass.
Evidence
- Build (
d14a9373101d,-Dbuildtype=release -Db_ndebug=false -Dbuild-tests=true): clean build (423/424incremental targets linked). - Meson test suite (
meson test --no-rebuild --print-errorlogs):Ok: 224,Fail: 0. - Targeted GoogleTest filter (
agx_tests --gtest_filter="ShrinkMemoryLoadsTest.*:AGX3PackBinary.TrimmedF16Vec3MemoryLoadsPack"):4/4passed (AGX3PackBinary.TrimmedF16Vec3MemoryLoadsPack,ShrinkMemoryLoadsTest.TrimsTrailingUnusedScalarAluChannels,ShrinkMemoryLoadsTest.SkipsVectorPackingAndNonAluUses,ShrinkMemoryLoadsTest.CompilesVectorConstructingLoadWithoutSpillingOnG16GAndG17P). - Live Apple M5 Max Vulkan CTS (
MESA_SHADER_CACHE_DISABLE=1,apiVersion = 1.4.363,Mesa 26.3.0-devel (git-d14a937310)):dEQP-VK.ssbo.layout.single_basic_type.std430.*vec3*:15/15passed,0faileddEQP-VK.ssbo.layout.single_basic_type.std430.*vec4*:15/15passed,0faileddEQP-VK.ubo.single_basic_type.std140.*vec3*:120/120passed,0faileddEQP-VK.ubo.single_basic_type.std140.*vec4*:120/120passed,0faileddEQP-VK.spirv_assembly.instruction.compute.8bit_storage.*:29/29passed,0faileddEQP-VK.spirv_assembly.instruction.compute.16bit_storage.*:504/535passed,0failed,31not supporteddEQP-VK.pipeline.monolithic.push_constant.*:61/65passed,0failed,4not supporteddEQP-VK.robustness.buffer_access.compute.*:138/204passed,0failed,66not supporteddEQP-VK.memory_model.message_passing.core11.u32.coherent.fence_fence.atomicwrite.device.payload_local.buffer.*:7/13passed,0failed,6not supported
dmesgGPU fault count before and after CTS:0->0.
|
Note 🤖 Gemini 4 Neon responding on behalf of erikwb Added exact-head J713 (M4 Air,
Updated the PR body's |
MacBook Neo (
|
| Kernel | Base 262403b7bce1 |
Head 8d56adc5738a |
|---|---|---|
rt.scene trace=pipeline RT kernel |
2,213 instrs, 191 GPRs, 512 threads, 4:14 | 2,214 instrs, 191 GPRs, 512 threads, 4:14 |
| Ray-query traversal kernel | 1,778 instrs, 191 GPRs, 512 threads, 0:0 | same |
The four RT rows compile 110 shaders in all (35 + 33 + 21 + 21). Across them, no GPR, thread or spill count changes. The head drops 2 to 8 uniforms from most shaders. Instruction totals move by −7 for trace=pipeline, −8 for trace=query, and 0 for both rt.rays rows.
Same-boot ABBA + BAAB (diagnostics off, all status=ok, identical CRCs)
Each arm has 4 samples per row, and each sample is the median of 3 × 500 ms runs.
| Test | Unit | Base | Head | Pooled Δ | ABBA / BAAB |
|---|---|---|---|---|---|
rt.scene preset=medium trace=pipeline |
fps | 64.28 | 64.52 | +0.37% | +0.40% / +0.34% |
rt.scene preset=medium trace=query |
fps | 69.87 | 69.88 | +0.02% | −0.01% / +0.06% |
rt.rays preset=medium kind=coherent |
Mray/s | 390.80 | 390.68 | −0.03% | −0.19% / +0.13% |
rt.rays preset=medium kind=incoherent |
Mray/s | 262.80 | 262.95 | +0.06% | +0.17% / −0.06% |
On rt.scene trace=pipeline, gpu_rt_us is 8,505–8,543 µs at base and 8,465–8,503 µs at head.
Conformance and health (head)
- RT CTS subset at head: 689 cases, 675 Pass / 14 NotSupported / 0 Fail, 0 recoveries. The subset is
ray_tracing_pipeline.shader_binding_table.*(268),ray_tracing_pipeline.pipeline_library.*(301),ray_tracing_pipeline.misc.*(113) and the 7 RTpipeline_binarycases. - 0 GPU faults or recoveries, 0 AVCs, 0 failed units. The Neo's state was the same before and after.
Earlier re-check: d14a9373101d vs 6eb4883958d5 (11-24)
Exact-head MacBook Neo (J700, G17P B1) re-check — d14a9373101d vs 6eb4883958d5
Verdict: G17P ray-tracing regression still present. The proposed guard in f743472aa1e clears the earlier trace=query traversal kernel spills (0:0), but the rt.scene trace=pipeline kernel still loses an occupancy tier (576 -> 512 threads) and introduces new spills (0:0 -> 4:14), dropping rt.scene trace=pipeline by -2.75% across both interleaved run orders (and rt.scene trace=query by -1.48%). Vulkan CTS and health are clean.
Build & Setup
- Hardware / Kernel: Apple MacBook Neo (
J700,G17P B1),7.3.0-41.fc44.aurora.aarch64, on AC, exclusive GPU lock,MESA_SHADER_CACHE_DISABLE=true, release cross-builds (-Db_ndebug=true, emptyBUILD-DIFF.patch):- Base
6eb4883958d5(git-6eb4883958):libvulkan_asahi.sosha256f52974d1a77b0a0e8ee1689ecdf09af7187dd9c397d0d7c06bf7afb98dc60b0e. - Head
d14a9373101d(git-d14a937310):libvulkan_asahi.sosha2569d03d0cf252d4bce57509ec670e599391ad62e5c674cbd80b70b8a006bc1c600.
- Base
Hardware AGX_MESA_DEBUG=shaderdb (rt.scene trace=pipeline, G17P B1)
- Pipeline RT kernel (
[10]):2,192 -> 2,219instrs (2,376 -> 2,397native),183 -> 191GPRs,576 -> 512threads,0:0 -> 4:14spills:fills. - Query traversal kernel (
[2]):1,777 -> 1,777instrs (1,934 -> 1,928native),191GPRs,512threads,0:0 -> 0:0spills:fills.
Interleaved ABBA + BAAB (gpubench-vk b701a2b, 4 arms/side, all status=ok, identical CRCs)
| Test | Unit | Base (6eb4883958d5) |
Head (d14a9373101d) |
Pooled Δ | Pass 1 (ABBA) / Pass 2 (BAAB) |
|---|---|---|---|---|---|
rt.scene preset=medium trace=pipeline |
fps | 64.97 | 63.19 | -2.75% | -3.45% / -2.02% |
rt.scene preset=medium trace=query |
fps | 68.90 | 67.88 | -1.48% | -1.65% / -1.31% |
rt.rays preset=medium kind=coherent |
Mray/s | 378.73 | 378.90 | +0.05% | -0.45% / +0.56% |
rt.rays preset=medium kind=incoherent |
Mray/s | 255.88 | 256.03 | +0.06% | +0.25% / -0.14% |
compute.heavy kind=alu |
µs | 1462.55 | 1462.57 | +0.00% | -0.18% / +0.18% |
compute.heavy kind=bw |
µs | 2787.49 | 2782.63 | -0.17% | -0.35% / +0.00% |
render.heavy kind=fill res=1080p |
µs | 781.27 | 780.73 | -0.07% | +2.74% / -2.78% |
On rt.scene trace=pipeline, gpu_rt_us rises from 8,196 / 8,189 µs -> 8,698 / 8,701 µs in Pass 1 and 8,448 / 8,453 µs -> 8,791 / 8,934 µs in Pass 2 (~+5.5% RT pass time), with zero overlap between base and head in either pass.
Conformance & Health (d14a9373101d)
dEQP-VK(ssbo.layout.single_basic_type.*,ubo.single_basic_type.*,spirv_assembly.instruction.compute.{8bit,16bit}_storage.*): 3,980 Pass / 877 NotSupported / 0 Fail (4,857 cases).- Health: 0 GPU faults/timeouts/recoveries, 0 AVCs, 0 failed units.
Signed-off-by: Erik Bourget <erik@ebourget.net> # Conflicts: # src/asahi/compiler/agx_compile.c # src/asahi/compiler/agx_nir.h # src/asahi/compiler/test/test-agx3-pack-binary.cpp
Running agx_nir_shrink_memory_loads() before agx_nir_lower_address(), agx_nir_opt_select_load(), and nir_opt_cse() narrowed loads that shared an address with wider sibling loads to mismatched component counts, preventing CSE and select_load from merging them and adding instructions and register pressure. Narrowing divergent vec4 loads to vec3 also left power-of-two register allocation unchanged while breaking downstream load matching. Support lowered load_agx and load_constant_agx intrinsics (keeping packed, W8-word, and typed formats intact) so shrinking runs after address lowering, opt_select_load, and CSE, preserve matching widths across sibling loads in the same function, and skip divergent trims that do not reduce the power-of-two component count. Update unit tests and run TrimmedF16Vec3MemoryLoadsPack with a uniform workgroup ID address so it continues covering trimmed 16-bit vec3 packing. Signed-off-by: Erik Bourget <erik@ebourget.net>
…X3C, and G18G Signed-off-by: Erik Bourget <erik@ebourget.net>
|
Note 🤖 Gemini 4 Hydrogen responding on behalf of erikwb Thanks for the exact-head MacBook Neo (
|
What: Trim unused trailing vector channels from scalar-consumed memory loads after address lowering,
agx_nir_opt_select_load(), and CSE in the Asahi compiler, preserving shared-address load widths and skipping zero-gain divergent power-of-two trims, and mergingaurora-wip.Tested: Host x86_64 (
-Doptimization=2 -Ddebug=false -Db_ndebug=false) and three Macs at8d56adc5738vs262403b7bce1(aurora-wip):meson test --suite asahi(207/207passed,0failed) andagx_tests(1,619passed,1pre-existing skip attest-rte-fma.cpp:245,0failed;7/7targetedShrinkMemoryLoadsTest.*andAGX3PackBinary.TrimmedF16Vec3MemoryLoadsPackacrossAGX2/G13G,AGX3B/G17P,AGX3C/G17S, andG18G/AGX3Dforload_agxandload_constant_agx).M4 Air/G16G):139,608Vulkan CTS cases (ssbo,ubo,memory_model,robustness:61,308 Pass / 78,300 NotSupported / 0 Fail),0diffs; separate uncachedAGX_MESA_DEBUG=shaderdbacross119,023compiled shaders:754VS shaders reduced GPRs (-6,388total,-0.31%),0shaders increased GPRs,0spills,0fills,0occupancy changes (54VS shaders+1to+2instrs);0GPU faults,0failed systemd units,0AppArmor denials (SELinux N/A).ray_query = falseinhk_physical_device.cat262403b7bce1, so the prior39 -> 47RT fragment shader GPR check cannot be re-verified on this base.M5 Max/G17C B1):139,608Vulkan CTS cases (ssbo,ubo,memory_model,robustness:77,094 Pass / 62,514 NotSupported / 0 Fail),0diffs,0GPU-error lines,0AVC (SELinux N/A);ray_query = false, sort.sceneskips.M1 Air/G13G B1):139,608Vulkan CTS cases (ssbo,ubo,memory_model,robustness:47,540 Pass / 91,564 NotSupported / 504pre-existingDeviceLost/0 Fail),0diffs,0GPU fault/recovery lines,0AppArmor denials (SELinux N/A).8d56adc5738): atd14a9373101d, external MacBook Neo (G17P B1) testing measured a regression inrt.scene(trace=pipeline-2.75%FPS,183 -> 191GPRs,576 -> 512threads,4:14spills:fills;trace=query-1.48%FPS,0:0spills:fills); at6220042c7bce, J716c (G17C) Cyberpunk 2077 T2 engine times (-0.47 mscompute,-0.15 msfragment).Risk:
two-waydoor · affects AGX2 (G13G), AGX3B (G16G/G17P), AGX3C (G17S/G17C), and AGX3D (G18G) shaders compiling through Borealis and Gallium Asahi.Not yet: External MacBook Neo (
G17P B1) retest of8d56adc5738vs262403b7bce1to confirm whether thed14a9373101drt.sceneregression (4:14spills:fills,-2.75%trace=pipelineFPS,-1.48%trace=queryFPS) is resolved (collectingAGX_MESA_DEBUG=shaderdbin a separate uncached run on both arms and timing bothrt.scenemodes with diagnostics disabled); J713 (G16G) ray-tracing fragment shader GPR check (39 -> 47at6220042c7bce) on an RT-enabled base (ray_query = falseat262403b7bce1); J716c (G17C) Cyberpunk 2077 T2 A/B engine times at8d56adc5738; externalJ714s(M5 Pro/G17S) coverage.Details
Proposed updated PR title for post-address lowering:
agx: trim unused trailing vector memory load channels after address lowering.agx_nir_shrink_memory_loads()runs inagx_optimize_nir()(src/asahi/compiler/agx_compile.c) afteragx_nir_lower_address(),agx_nir_opt_uniform_stride_chains(),agx_nir_opt_uniform_stride(),agx_nir_opt_select_load(), and an unconditionalnir_opt_cse()/nir_opt_dce()pass, before subword load narrowing and preamble formation.Key behaviors at
8d56adc5738:load_ubo,load_ssbo,load_global,load_global_constant,load_constant,load_push_constant) and lowered (load_agx,load_constant_agx) multi-component loads, while skippingload_scratch,ACCESS_BUFFER_DESCRIPTOR_AGX,ACCESS_VOLATILE,AGX_NIR_MEMORY_PACKED_COUNT_MASK,AGX_NIR_MEMORY_UNPACK_W8_WORD, and non-PIPE_FORMAT_R{8,16,32}_UINTformats.agx_def_only_scalar_alu_uses()(checkingnir_foreach_use_including_ifand scalarnir_op_movchains up to depth 4) to leave non-ALU uses and vector-constructing /nir_op_pack_*ops untouched so vector register affinity stays intact.util_last_bit(nir_def_components_read(&intr->def))(rounded up to a power of two above 4).nir_divergence_analysis()and skips divergent trims whereutil_next_power_of_two(rounded) >= util_next_power_of_two(orig)(e.g. divergentvec4 -> vec3), avoiding zero-GPR-gain narrowing while keeping uniformvec4 -> vec3uniform-slot trimming and divergentvec4 -> vec1/vec2trimming.nir_function_impl(agx_memory_loads_match(), including equal scalar constant sources) and keeps matching loads at their shared maximum target component count so downstream post-LICM CSE and load merging continue to see uniform widths across blocks.AGX3PackBinary.TrimmedF16Vec3MemoryLoadsPack(src/asahi/compiler/test/test-agx3-pack-binary.cpp) verifies bothload_agxandload_constant_agxshrink to 16-bit vec3 in NIR and emit a 3-componentW16load (mask == 0x7, with zero0xfloads) in the packed binary acrossAGX2(G13G),AGX3B(G17P),AGX3C(G17S), andG18G(AGX3D).Evidence
j716c/agx-shrink-vectors-pre-address:6220042c7bc:agx: trim unused trailing vector memory load channels before address lowering2e451a8c2f6:Merge branch 'aurora-wip' into j716c/agx-shrink-vectors-pre-addressf743472aa1e:agx: leave vector-feeding and non-ALU memory loads intactd14a9373101:agx/tests: derive G16G test ISA encoding from agx_chip_isa_encoding()68022021488:Merge remote-tracking branch 'origin/aurora-wip' into HEAD(merges262403b7bce, resolvingsrc/asahi/compiler/agx_compile.c,src/asahi/compiler/agx_nir.h, andsrc/asahi/compiler/test/test-agx3-pack-binary.cpp)c5f074c59ef:agx: shrink memory loads after CSE and skip zero-gain divergent trims8d56adc5738:agx/tests: verify packed 3-component W16 loads across AGX2, AGX3B, AGX3C, and G18G8d56adc5738(meson setup-Doptimization=2 -Ddebug=false -Db_ndebug=false -Dvulkan-drivers=asahi -Dtools=asahi -Dbuild-tests=true -Dllvm=enabled -Dmesa-clc=enabled -Dprecomp-compiler=enabled):meson test --suite asahi:207/207passed (0failed).agx_tests --gtest_brief=1:1,619passed,1skipped (test-rte-fma.cpp:245),0failed (1,620tests across144suites).agx_tests --gtest_filter="ShrinkMemoryLoadsTest.*:AGX3PackBinary.TrimmedF16Vec3MemoryLoadsPack":7/7passed (AGX3PackBinary.TrimmedF16Vec3MemoryLoadsPackacrossAGX2/G13G,AGX3B/G17P,AGX3C/G17S, andG18G/AGX3Dfor bothload_agxandload_constant_agx, plus all 6ShrinkMemoryLoadsTest.*tests).git merge-tree --write-tree origin/aurora-wip HEAD:d019eeba7c0c(clean).8d56adc5738vs262403b7bce1(aurora-wip, aarch64 release builds with-Doptimization=2 -Ddebug=false -Db_ndebug=false -Dvulkan-drivers=asahi, selected viaVK_DRIVER_FILES+LD_LIBRARY_PATH):M4 Air/G16G, 8 cores, Linux 7.3.0):dEQP-VK.ssbo.*12,225+ubo.*13,240+memory_model.*17,300+robustness.*96,843=139,608cases, shader cache enabled, 6deqp-vkjobs):61,308 Pass / 78,300 NotSupported / 0 Fail / 0 Crashon both arms,0per-case diffs.AGX_MESA_DEBUG=shaderdb(MESA_SHADER_CACHE_DISABLE=true,dEQP-VK.glsl.*,ssbo.layout*,ubo.*,fragment_shader_interlock.*,compute.pipeline.shader_object*:45,854cases,33,985cases emitting stats =119,023compiled shaders per arm, paired shader-by-shader):-8in 673 shaders,-16in 30,-12in 22,-4in 21,-20in 4,-24in 4;54VS shaders+1to+2instructions (44 x +1,10 x +2); totals4,148,528 -> 4,148,592instructions,42,674,450 -> 42,674,284code bytes,3,984,882 -> 3,984,148uniforms;0per-case diffs (33,775 Pass / 11,700 NotSupported / 210pre-existingDeviceLost/169pre-existingFail).dEQP-VK.ray_query.*+dEQP-VK.ray_tracing_pipeline.*(57,190cases) are57,190/57,190 NotSupportedon both arms becausesrc/asahi/vulkan/hk_physical_device.c(hk_get_device_extensions()) hard-codesray_query = falseat262403b7bce1, so the prior6220042c7bceJ713 RT fragment shader39 -> 47GPR check cannot be re-verified on this base.0GPU fault/recovery/timeout/MMU fault/OOM lines,0WARNING/BUG/Oops/Call trace,0failed systemd units,0AppArmor denials,0AVC (SELinux not installed).M5 Max/G17C B1, Linux 7.3.0):139,608cases, shader cache enabled, 6 shards):ssbo.*12,225(12,162 Pass / 63 NotSupported),ubo.*13,240(13,240 Pass),memory_model.*17,300(3,796 Pass / 13,504 NotSupported),robustness.*96,843(47,896 Pass / 48,947 NotSupported) =77,094 Pass / 62,514 NotSupported / 0 Fail / 0 Crashon both arms,0per-case diffs.0GPU-error lines,0AVC (SELinux not installed).gpubench-rt-vk --inforeportsray_query: false(rt.sceneskips).M1 Air/G13G B1, Linux 7.3.0):ssbo.*+ubo.*+memory_model.*+robustness.*=139,608cases, shader cache enabled, 6 shards):47,540 Pass / 91,564 NotSupported / 504pre-existingDeviceLost(0 Fail / 0 Crash) on both arms,0per-case diffs.0GPU fault/timeout/recovery/lost-device/EIO lines,0Oops/BUG/WARNING/Call trace,0OOM kills,0AppArmor denials,0AVC (SELinux not installed); the504DeviceLostcases correspond 1:1 to pre-existingM3 compute/render rejected+ENOTSUPPrejections identical on both arms.d14a9373101don J713 (G16G, Vulkan CTS7ba03cdac7ae):dEQP-VK.ssbo.*stride 34,052 Pass / 23 NotSupported / 0 Fail,dEQP-VK.compute.pipeline.*+dEQP-VK.memory_model.*stride 10793 Pass / 2,967 NotSupported / 0 Fail(0diffs vs6eb4883958d5);shaderdb1,415shaders identical aggregate totals,uniformschanged in12/1,415.d14a9373101don MacBook Neo (G17P B1, external):rt.scenetrace=pipeline-2.75%(183 -> 191GPRs,576 -> 512threads,0:0 -> 4:14spills:fills) andtrace=query-1.48%(0:0 -> 0:0spills:fills).6220042c7bceon J716c (G17C): Cyberpunk 2077 T2 compute-0.47 ms, fragment-0.15 ms.