The steps this packet landed as, in order:
- Take the next runtime version, which the rebase silently shared
Content: the tree of `development` at 3ebfbf24c9, unchanged.
The steps this packet landed as, in order:
- Name the region reader in prose where the dispatch plan's docs are public
- Recompute the runtime-sources pin at the landing tip
- Regenerate the refusal surface at the landing tip again
Content: the tree of `development` at e43e4580f6, unchanged.
The steps this packet landed as, in order:
- Say in the scheduler's docs and the handler's which submissions a waiting thread makes
- Version the runtime for the submissions a waiting thread now makes
Content: the tree of `development` at eea349797c, unchanged.
The steps this packet landed as, in order:
- Choose whether batches may group by the driver's fact, not by its name
- Re-bless the driver-facts goldens for the submission-merge fact
- Decide whether a queue's failures are relayed by the driver's fact, not its name
Content: the tree of `development` at 94416b2c77, unchanged.
The steps this packet landed as, in order:
- Bump the runtime version and pin the runtime sources after the scheduled-signal fix
Content: the tree of `development` at 2e3af38041, unchanged.
The steps this packet landed as, in order:
- Keep the screen a rate-mapped pass took through a reset to another screen
- Bump the runtime version for the fifteenth stack
- Pin the runtime sources of the fifteenth stack
Content: the tree of `development` at ea7b7cf4a4, unchanged.
The steps this packet landed as, in order:
- Answer Metal's getters for an indirect draw of primitive type 7, 8 or 9
Content: the tree of `development` at 987448bf48, unchanged.
The steps this packet landed as, in order:
- Regenerate docs/REFUSALS.md over the twelfth stack
- Pin the runtime sources and bless the golden table over the twelfth stack
Content: the tree of `development` at 6ca8b9005a, unchanged.
The steps this packet landed as, in order:
- Pin the runtime sources and bless the golden table over the eleventh stack
Content: the tree of `development` at e36e90bc53, unchanged.
The steps this packet landed as, in order:
- Stop a running predicated loop at the GPU's recovery from a fault or a hang
- Resolve multisampled extended-range targets by Metal's measured rules
- Run the emulation's indirect mesh draws with an object function
Content: the tree of `development` at 60cf488339, unchanged.
The steps this packet landed as, in order:
- Say whether the multisampled sparse lane ran on a sparse image
- Answer per indirect command buffer whether its identifier is unmeasured
- Bump the semantics, artifact format and runtime versions for the ninth stack
- Pin the runtime sources of the ninth stack
Content: the tree of `development` at 9e2387685c, unchanged.
The steps this packet landed as, in order:
- List the mesh_object_grid fixture in the engine inventory and AIR printouts, and re-bless the opened chains
Content: the tree of `development` at c81b828f80, unchanged.
The steps this packet landed as, in order:
- Read a YCbCr texture's 2D-array view as Metal's, and drop packed 4:4:4 writes
- Name bfloat attachments in the unreached-tiles notice
- Let go of each predicated loop run's sets and uploads once the run completed
- Check that a lent descriptor arena takes every set and reuses its reset pools
- Bump the semantics, artifact format and runtime versions for the eighth stack
- Pin the runtime sources of the eighth stack
- Bless the golden hash tables over the eighth stack
Content: the tree of `development` at ee0b90d176, unchanged.
The steps this packet landed as, in order:
- Run any object grid Metal runs, in pieces within the task stage's limits
- Upload a folded object draw's fold when it launches nothing too
- Run an unfolded object stage's direct grid as Metal does when its threads wrap
- Bump the semantics, artifact format and runtime versions for the seventh stack
- Pin the runtime sources of the seventh stack
- Bless the golden hash tables over the seventh stack
Content: the tree of `development` at a6f6b269ad, unchanged.
The steps this packet landed as, in order:
- Give the private-writes fixture its golden printout and inventory rows
- Draw an indirect render command's private primitive types as the encoder's draws of them
- Count an injected page fault or hang toward a queue's revocation, as the error it stands for
- Drop a unit's ungated dispatches at its unbalanced first record, as Metal does
Content: the tree of `development` at 8e08f4d248, unchanged.
The steps this packet landed as, in order:
- Start a predicated loop's check thread through the exit guard
- Make a predicated loop check's command pool inside an exit-guard section
- Run an endless predicated loop on after its queue is let go, as Metal does
Content: the tree of `development` at f6e7e87687, unchanged.
The steps this packet landed as, in order:
- Give a device heap's compressed multisample texture its own lossless reason
- Plan a heap multisample texture's sample moves per copy, from a queue's pool
Content: the tree of `development` at 936672b44c, unchanged.
The steps this packet landed as, in order:
- Say that a resource state encoder takes no pages a rebind could leave behind
- Encode an encoder with a call refused at its encoding again at a rebind
- Bump the semantics and runtime versions for the fifth stack
- Pin the runtime sources of the fifth stack
- Bless the golden hash tables over the fifth stack
Content: the tree of `development` at 42b1caf8ed, unchanged.
The steps this packet landed as, in order:
- Pin the runtime sources of the fourth stack
- Bless the golden hash tables over the fourth stack
Content: the tree of `development` at 45da448770, unchanged.
The steps this packet landed as, in order:
- Run an executed command's mesh draw with the object threadgroup lengths it set
- Expect the untiled heap layout notice in the ID lanes where images lie in the driver's layout
Content: the tree of `development` at df4df1719c, unchanged.
The steps this packet landed as, in order:
- Regenerate the refusal surface after the indirect mesh draws
- Read the task limits through the profile's public limits in the mesh draws lane
- Name VK_EXT_post_depth_coverage in the candidate's enable list
- Re-bless the opened chains, and let a late depth test behind an imageblock writer link
- Withhold the mesh shader extension's features with it in the mesh lane
Content: the tree of `development` at 3e1d7fbbe1, unchanged.
The steps this packet landed as, in order:
- Detach lane: take a split's first submission as done as Metal's probe did
- Run protection options as Metal's GPU runs them
- Make compute encoders of raw dispatch types as Metal makes them
- Answer a patch draw's nil buffers as Metal's getters do
- Measure Metal's handler thread cap: the runtime's refusal is where Metal hangs
- Regenerate docs/REFUSALS.md over the second stack
Content: the tree of `development` at e6e5d4b99a, unchanged.
The steps this packet landed as, in order:
- Draw private types in a pulled list form where the indexed list differs from Metal
Content: the tree of `development` at d3fc3a5794, unchanged.
The steps this packet landed as, in order:
- Let a host step make the images, render passes, framebuffers and neutrals it needs
- Order a command after a barrier the CPU set once its encoder ended
Content: the tree of `development` at 6584b0e93d, unchanged.
The steps this packet landed as, in order:
- Bump the semantics, artifact format and runtime versions for the stacked review round
- Pin the runtime sources of the stacked review round
- Bless the golden hash tables over the stacked review round
Content: the tree of `development` at 06fe802723, unchanged.
The steps this packet landed as, in order:
- Refuse the private option bit where Metal ends the process, and take it where Metal ignores it
- Drop the GPU's writes to no-copy memory of the private option bit on macOS
- Let a host step ask the driver for a heap set's layout support
- Run a command that leaves a live sampler state out, announced, instead of failing it
- Record what a read-only view of no-copy pages costs
Content: the tree of `development` at abc094a6c3, unchanged.
The steps this packet landed as, in order:
- Hold RGB10A2Unorm_sRGB textures with Metal's conversions
- Name the runtime's gap, not a missing feature, for fetch on interlock devices
- Take clippy's forms in the RGB10A2Unorm_sRGB tests
- Fill multisample textures' samples as Metal's private fills write them
- Check fill units only for the formats the crate holds textures of
- Hold a two-plane texture's bytes between rows, which Metal's buffer blits read back
- Fill texture buffers as Metal does: bytes of the buffer, the pattern streamed
- Drop the multisample fill from apple_only's refusals, which fills it
- Meet the rows of a two-plane buffer blit into the texture in Metal's order
- Announce narrow two-plane row meetings across groups of 32 rows as one of Metal's
Content: the tree of `development` at 9d3447dec9, unchanged.
The steps this packet landed as, in order:
- Time indirect commands' CPU setters and getters in host_ab
- Read and write one field of an indirect command's record
- Set and read an indirect command's fields one at a time
- Call an indirect execution's check where it may see something, and run the CPU's later writes
- Load vkGetDescriptorSetLayoutSupport inside the exit guard's sections
- Hand out indirect command buffer IDs to 2^31 - 1 and place every one's records, as an M3 Max does
- Refuse an indirect command buffer reservation Metal hangs at as such
- Place an indirect command buffer's records at any length, found only at their start
- Leave a resource ID pool made after a reservation of 0 alone, as Metal does
- Ignore a late reservation call before looking at what it holds, as Metal does
- Expect the merged-draw tests' pipeline makings' notices on every device
- Keep an indirect compute command's threadgroup lengths where Metal keeps them
- Take the pieces of the ICB identifier range Metal's encoders take
- Answer a GPU-written command's state identifier as the state its ID named then
- Run a GPU-written record's released state as Metal does, from the buffer's kept programs
- State and test the bound on the programs a GPU-writable buffer keeps
- Record the earlier-window record of a re-held ID as a known gap
Content: the tree of `development` at 7d31ebb207, unchanged.
The steps this packet landed as, in order:
- Answer command predication as Metal does on an M3 Max under macOS 27.0.1
- Probe Metal's command predication from the validation crate's Metal platform
- Wait for the predication probe's command buffers through the bounded wait
- Name the record a predication block left open came from in its command buffer's failure
- Refuse a run's first indirect dispatch of another dispatch type at Metal level 26.7
- Read an encodeEndDoWhile's word only where it closes a live DoWhile
- Run command predication on devices without buffer device addresses
- Nest predicated loops to any depth, their copies bounded by what they lay down
- Read a predication word past its buffer as Metal reads it
- Halt a predication unit where a loop runs past its copies
- Name the lane's fixed loop case type, which clippy found too complex
Content: the tree of `development` at ef8b74ec1b, unchanged.
The steps this packet landed as, in order:
- Test the private primitive types' draws against Metal's lists on the device
- Check the private draws through the weights' geometry stage too
- Use is_multiple_of and as_chunks in the private lists
- Fail a draw of primitive type 9 as Metal's GPU does
- Give the private-types fixture its golden printout and inventory rows
- Discard what a hang's queue schedules during it, and time the hang as measured
- Regenerate REFUSALS for the type-9 runtime changes
- Read Metal's quad primitive ID under private quads and quad strips
- Read a type-9 hang's Scheduled at Metal's time, not at its held last batch
- Schedule a hang's queue's command buffers from the hang's Scheduled on
- Stop a hang's thread waiting on a failed command buffer; keep storage-form commits on their last batch
- Hold a hang's joined command buffers behind a closure, so Rustdoc ends
Content: the tree of `development` at 5441a97bda, unchanged.
The steps this packet landed as, in order:
- Answer a kept heap texture requirement before asking the device's limits
- Answer whether a command buffer or submission uses given objects, cloning nothing
- List devices' registry IDs without making devices, and open one by its ID
- Give a made pipeline state's reflection from its compile, after its creation
- Enable optional device extensions where each device can, and say which it enabled
- Let a caller vouch for its host pages' write permission, skipping the kernel's answer
- Import read-only host pages from the caller's dma-buf source, and say whether a device takes shared pointers
- Hold a texture of Apple's private usage 0x8 alone to what Metal does with it
- Measure RADV 26.2.4 on the RX 7900 XTX: its pointer imports follow their address
- Free a no-copy buffer's dma-buf imports before its keep-alive goes
- Measure a file's pages mapped under a live RADV pointer import, a known gap
- Let what waits for a dma-buf import's free go as its fields drop
Content: the tree of `development` at 0a38130573, unchanged.
The steps this packet landed as, in order:
- Take the compute dispatch memo while the encoder's residency is unchanged
- Start a shared event listener's thread at its first notification
- Add a command buffer's scheduled event signal (encodeSignalEventScheduled:value:)
- Count the scheduler's passes, and measure signals, bursts and moving offsets in host_ab
- Hash the pipeline memos with the runtime's key hasher
- Let a dispatch take what its pipeline state last planned for the same shape
- Drop two casts clippy flags in completion_here's scheduled signal check
- State host_ab's dispatches taken as settled and as planned before
Content: the tree of `development` at f9d39326a3, unchanged.
The steps this packet landed as, in order:
- Refuse buffer-texture copy layouts whose rows pass u64::MAX instead of wrapping
- Wait without a deadline for a timeout past the host's clock, and test copies at the buffer's edge
- Place a multisampled buffer copy's rows where plain Metal does, staging off-texel rows
- Say that Metal copies the multisampled layouts the runtime still refuses
- Count the rows a compressed-texture blit rewrites, and test a copy out off the texel
Content: the tree of `development` at e5ff75b136, unchanged.
The steps this packet landed as, in order:
- Pin the runtime sources with a refused queued commit's completion
Content: the tree of `development` at a62e8a365f, unchanged.
The steps this packet landed as, in order:
- Regenerate the refusal surface and pin the runtime sources with commits behind the lowering thread
Content: the tree of `development` at 770f8bce10, unchanged.
The steps this packet landed as, in order:
- Regenerate the refusal surface and pin the runtime sources with the end on the lowering thread
Content: the tree of `development` at bf576119ea, unchanged.
The steps this packet landed as, in order:
- Regenerate the refusal surface and pin the runtime sources with the logged render encoder
Content: the tree of `development` at f3cfaa3feb, 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:
- 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:
- 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.
Comments, fixture notes and docs lose their design-record numbers, work-package codes and evidence
codes; lines that earlier commits of this series added carry their cleaned text there, so this
commit holds the cleanup of lines that predate the series, the retired vk12-bare profile's corpus
rows (a rationale and two observation rows), and docs/FAST-PATHS.md's measurements stated as they
stand. Thirteen hash-keyed files keep their citations, because their bytes are case or record
identities: eight case-keyed .ll fixtures and five parity sources.
Verified: the CPU suites (4997 of 4997 and 1328 of 1328), clippy, rustdoc and doctests.
Folds in:
- Drop evidence codes, design-record numbers and work-package codes from comments and fixture notes
- Drop the retired vk12-bare profile from the corpus
- Say the fast-path ledger's measurements as they stand, without commits, rounds or host incidents
- Keep the case-keyed .ll fixtures byte for byte
- Keep the parity lanes' fingerprinted sources byte for byte
A batch's submission takes the new resources' first work (FirstMoves::take), which holds the
device's place in the submissions' order until its vkQueueSubmit returns, and every registration
of a new resource (a texture's, buffer's, fill's, bytes' or texels' first move, as a Shared or
Private texture is made) waited for that order, so that no texture's heap set elements were
written between a batch's take and its submission. Two things made a texture's making wait long
inside that span: the batch's deferred command buffers were replayed after the take, and
MoltenVK encodes a command buffer's Metal commands inside vkQueueSubmit on the calling thread (5
to 32 ms for 4096 to 65536 fills on the M3 Max). In the consumer's guest on the Iris Xe with
deferred recording, the guest's task thread blocked 1311 ms over 110 such waits (about 17 ms a
frame). Metal's makes wait for no submission.
Now:
- A batch's deferred command buffers replay before the take (crate::recorder::resolve on each,
waiting for a replay in progress), with no lock a registration takes; their handles stay as
encoded until the vkQueueSubmit, which finds them replayed. Only the barrier command buffers
the submission records after the take replay inside the order. What replays, and the commands,
are unchanged.
- On a device whose heap sets take writes while a command buffer that binds them is pending
(descriptorBindingUpdateUnusedWhilePending: every committed profile but the Vulkan 1.2
floor's), a batch holds the texture slots' writes over that span instead
(FirstMoves::take_holding, heap_sets::hold): elements asked meanwhile are written in order as
the hold ends, before the batch's place in the order goes, and a registration takes no place.
A device without the feature keeps its registrations ordered (FirstMoves::ordered).
- New WorkCounts fields: heap_slot_writes_deferred (the writes a hold deferred) and
registrations_waited (registrations that found a submission holding the order and waited for
it, counted only where registrations are ordered).
- Docs: texture/first_move.rs's order, heap_sets.rs, and the lane's module docs.
Verified, as the commits state:
- runtime_lane::first_use::a_new_texture_waits_for_no_submission_s_replay times a Private
texture's making (a Shared one moves on the host where VK_EXT_host_image_copy exists and never
waited) and now asserts the making added no wait for a place, printing its time. On the 780M
and RX 7900 XTX (RADV) it took 0.04 to 0.19 ms while the command buffer was scheduled 58 to 64
ms after its commit; with the replay moved back after the take it took 56 to 60 ms.
- On the M3 Max through MoltenVK (60 makings after commits of 4096 to 65536 fills): before the
slot-write hold 20 makings waited for the order, up to 13.0 ms; with it none waited, the
slowest taking 0.158 ms.
- The FirstMoves unit tests, among them a registration that waits for no submission where batches
hold the slots and one that waits where registrations are ordered, and the count's tests:
first_move, heap_sets and exit_guard tests, 62 passed.
- runtime_lane::first_use's 11 tests on the UHD 770 and lavapipe. Beside 128 busy threads and as
8 parallel copies, on lavapipe and the UHD 770, every run passed with 0 waits for a place
(183 makings, the longest 0.55 ms on lavapipe and 0.23 ms on ANV); the earlier time-ratio
failures were the host's load and the validation layer's lock, not a wait of the runtime's.
- clippy plain, --cfg m2v_gpu and --cfg m2v_cpu_icd; Rustdoc -D warnings.