The steps this packet landed as, in order:
- Add host_ab's layers workload, shaped as m2vbench's composite mode
- Count the variables each stage's entry point uses at a layout binding
Content: the tree of `development` at 75b8996c58, unchanged.
The steps this packet landed as, in order:
- Set the runtime version and pin the runtime sources at the merged tree
- Set the semantics version and pin the runtime sources after the render GPU form
- Bless the golden hashes at the merged tree
- Bless the authored compile census at the merged tree
- Regenerate the refusal surface at the merged tree
- Pin the runtime sources after the compute indirect command cost rule
- Regenerate the refusal surface after the compute indirect command cost rule
Content: the tree of `development` at f4a0642491, unchanged.
The steps this packet landed as, in order:
- Run GPU-written render commands on the GPU alone, and let a check state what it looks for
- Say that a check of every kind runs on the GPU alone where the records rule out both kinds
- Pass what the check looks for in the compute lane's checked execution
- Add host_ab's icb_draws workload: a kernel writes the draws of Apple's GPU-encoded ICB sample
Content: the tree of `development` at 665d587ae2, unchanged.
The steps this packet landed as, in order:
- Time host_ab's first GPU fill of held new buffers, each set held to the end
- Let host_ab run the memory workload's parts alone
Content: the tree of `development` at b41eddf02b, unchanged.
The steps this packet landed as, in order:
- Run GPU-written compute executions on the GPU alone by indirect dispatches where the device has no generated commands
- Run a concurrent encoder's GPU-alone execution with no barrier between its commands
Content: the tree of `development` at 343b1abcb4, unchanged.
The steps this packet landed as, in order:
- Keep the recycler's proven parked objects through a run of one-off makings
- Remember usage answers by hash, 1024 of them, least recently asked going first
- Pin the runtime sources after the recycler's protected eviction and the usage answers' LRU
- Regenerate the refusal surface at the merged tree
Content: the tree of `development` at bde1abe95b, unchanged.
The steps this packet landed as, in order:
- Set the runtime version and pin the runtime sources at the merged tree
- Bless the golden output hashes at the merged tree
- Bless the authored compile census at the merged tree
Content: the tree of `development` at 5c643dcf7d, unchanged.
The steps this packet landed as, in order:
- State the view base alignment in MoltenVK's shapes too, so a run's plan is the executor's
Content: the tree of `development` at 10590d481a, unchanged.
The steps this packet landed as, in order:
- State what an indirect command buffer's records may hold, from every route that writes them
Content: the tree of `development` at 9a885fa69c, unchanged.
The steps this packet landed as, in order:
- Pin the runtime sources after a full-cover blit's shadow overwrite
Content: the tree of `development` at 90297e91c2, unchanged.
The steps this packet landed as, in order:
- Composite window surfaces over host pages in host_ab's drag
- Upload window contents into the composited surfaces in host_ab's drag
- Take no copy in and no keep for a blit copy into every texel of a heap shadow
Content: the tree of `development` at c7c1499d07, unchanged.
The steps this packet landed as, in order:
- Pin the runtime sources after the blit commands' byte-range order
- Regenerate the refusal surface at the merged tree
Content: the tree of `development` at 1f2b48f345, unchanged.
The steps this packet landed as, in order:
- Read a half by the device's widening on MoltenVK where no use reads a NaN's bits
- Set the runtime version at the merged tree
- Bless the golden output hashes at the merged tree
- Bless the authored compile census at the merged tree
Content: the tree of `development` at f9408d00e6, unchanged.
The steps this packet landed as, in order:
- Count the most GPU pool blocks leased at once
- Share one GPU pool block per queue among its command buffers
- Keep an arena's fitted list on the pools a completing command buffer takes out
Content: the tree of `development` at 0a94bc93a0, unchanged.
The steps this packet landed as, in order:
- Read no data back from a making the driver found in its record, which MoltenVK rewrote each time
- Hash with sha2 0.11, which runs SHA-256 on ARMv8's SHA2 instructions
Content: the tree of `development` at 457e874745, unchanged.
The steps this packet landed as, in order:
- Measure a frame shaped as the guest's window drag in host_ab
- Keep up to 256 spare descriptor pools, a window server's frames' worth
Content: the tree of `development` at c4853d8383, unchanged.
The steps this packet landed as, in order:
- Count render encoders' render pass instances by where they began, and their splits by cause
- Set the runtime version and pin the runtime sources at the merged tree
- Bless the golden output hashes at the merged tree
- Bless the authored compile census at the merged tree
- Regenerate the refusal surface at the merged tree
Content: the tree of `development` at effa414f26, unchanged.
The steps this packet landed as, in order:
- Count no-copy imports a live import already holds
- Recycle a texture's image and memory for the next texture of the same making
- Add a control build that turns the image recycler off (--cfg m2v_no_recycle)
- Count image, buffer and memory releases by the place that released them
- Recycle the runtime's buffers and their memory for the next buffer of the same size
Content: the tree of `development` at db877e7a50, unchanged.
The steps this packet landed as, in order:
- Pin the runtime sources after the typed threadgroup step's doc edit
- Take the device's sin and cos as Metal's fast ones in a fast-math module on MoltenVK
- Write the typed threadgroup region test's module as a plain string
- Convert a plain class's half texel by the device's conversion on MoltenVK
- host_ab: compare each gpu kernel's output between the sides
- Share an imageblock slice write out to the whole threadgroup where one invocation writes it
- Copy a half slice's cell bits straight to a half-bits slot
Content: the tree of `development` at b0e2bd6190, unchanged.
The steps this packet landed as, in order:
- Pin the runtime sources at the switch on the development base
- Blend fast-math colors into BGR10_XR_sRGB and RGB10A8_2P_XR10_sRGB as the linear forms do
- Name a placement heap texture the heap does not make at an offset inside it
Content: the tree of `development` at 3386fdcac8, unchanged.
The steps this packet landed as, in order:
- Ask a heap texture's image requirements once, and take owned kernels' sets from spare pools
- Find a replayed draw's pipeline where its state's last draws found it
Content: the tree of `development` at 6f29d4516f, unchanged.
The owner lifts it: a device may keep what it checked or learned about
itself in an earlier session (its driver's answers and defects, checked
on the device). The bans on keying behavior to an app, a shader hash or
a corpus census stay. Doc-only; cargo fmt --all run.
The generated and blessed files, and the three version constants, as of the tree this series ends
on. They come last so that no packet commit before this one claims a version or a table, and so
the final tree is exactly the tree verified at the tip.
- docs/REFUSALS.md regenerated.
- crates/metal2vulkan/tests/golden_hashes.tsv and the air_input printouts as blessed (the table
tests 25 of 25 on the M3 Max host, with xcrun metal-as for the typed-pointer fixtures).
- crates/metal2vulkan-validation/corpus/authored-compile.tsv as blessed: 2256 authored cases on 21
profiles, 47376 cells, 46245 compiled and 1131 refused, 0 failed, 0 differences, 0 regressions.
- crates/metal2vulkan-validation/runtime-sources.sha256 recomputed.
- SEMANTICS_VERSION 1798, RUNTIME_VERSION 1496, ARTIFACT_FORMAT_VERSION 431.
Verified at this tree: the full suites on the RTX 5080 Laptop, RTX 3090, RX 7900 XTX, Radeon 780M,
Iris Xe and the M3 Max through MoltenVK, the CPU suites (product, validation, lavapipe's CPU ICD),
fmt, clippy in every configuration, rustdoc, the API reference and refusal-surface checks,
packaging and doctests; the failures those runs found were fixed in this series and their lanes
run again green.
New WorkCounts::batch_submit_nanos times each vkQueueSubmit, and the take-up tests bound only the
scheduler's own time: the long take-ups on the RTX 5080 were inside the driver's call. The queue
storm's p99 may exceed the reference's by its margin plus twice the reference's own completion
delivery, for the runtime's two extra host hand-offs per burst.
Verified: the 5080 under load, 22 of 22 (the old bound would have failed 11); the storm on the M3
quiet and under eight default-QoS spinners.
Folds in:
- Time the scheduler's take-up of checked commits apart from the driver's vkQueueSubmit
- Allow the queue storm's tail the host's delivery of a completion for the runtime's two extra hand-
offs
Under cargo test, whose tests run as threads of one process, three footprint tests counted every
thread's allocations and tests sharing a process-id-named scratch directory deleted each other's.
The counting allocator now counts the measuring thread alone, and one Scratch helper gives each test
a directory of its own, removed on drop, at the 42 sites that named theirs by process id. Test-only.
Verified: two full cargo test runs with no scratch failures, and the touched tests under nextest.
Folds in:
- Count the translator tests' allocations on the measuring thread alone, so cargo test's threads
leave them alone
- Give each of the translator's tests a scratch directory of its own, removed on drop
On ANV a pipeline whose largest stage module passes 400,000 words under the exact forms is
retranslated with those forms dropped until it fits; render pipelines already were, and now mesh,
compute and tile pipelines are too, announced as exact-forms-over-compiler-limit with the kind of
pipeline state named. New Device::fit_mesh_variant, fit_compute_pipeline and fit_tile_pipeline for
pipelines linked from stages compiled ahead. The known gap is gone from docs/FAST-PATHS.md.
Verified: the fit tests for every kind, 188 translator and runtime tests and the device notice tests
on ANV, and 7 of 7 on RADV.
Folds in:
- Fit mesh, compute and tile pipelines to ANV's compiler word bound
A fragment function that runs per sample (programmable blending reads its attachment) and also reads
[[position]] z or w, [[point_coord]], [[barycentric_coord]] or a centroid varying was refused at
link; Metal accepts it and reads each as the pixel's in every sample's run (M3 Max at 4x, measured).
These reads now read where Vulkan evaluates them for the sample, with
PrecisionNote::MultisamplePosition and its bound (the value's change over half the pixel's diagonal,
or across the covered area for a centroid varying). Chromium's Skia Graphite on Dawn (Claude
Desktop) made such pipelines. The new test shader is its own fixture, engine/multisample_fetch;
engine/multisample is unchanged.
Verified: the guest's pipelines compile on six profiles and Claude Desktop draws in the macOS guest
on the RTX 5080 with no fatal line; the multisample, point_coord and link tests fail without the
change and pass with it.
Folds in:
- Read a per-sample fragment function's pixel reads where Vulkan evaluates them, noted, as Metal
accepts them
- Move the programmable-blending fixture entry out of engine/multisample into a fixture of its own