Commit Graph
308 Commits
Author SHA1 Message Date
Anees Iqbal 27ad7597c1 Measure dispatches after one useResources in host_ab's encode workload
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.
2026-10-26 13:19:05 +02:00
Anees Iqbal 328f69c087 host_ab: announce chosen kinds at every occurrence, and count the notices
The steps this packet landed as, in order:
- Keep a draw's shape where its derivation announces nothing at each occurrence
- Read getBytes into the caller's bytes where they are laid out packed
- Let a message sink skip low severities, and make no line it skips
- Say how many getBytes reads of the layouts test went through the staging queue
- host_ab: --announce-each all, --sink-least, and a count of the other messages
- Let the draw-shape notice tests wait for every key's own pipeline
- Write replaceRegion from the caller's bytes where they are laid out packed

Content: the tree of `development` at f0fa09bc2d, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal 7b8ebc5b3e Use AtomicU64::try_update, the name fetch_update now has
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.
2026-10-26 13:19:05 +02:00
Anees Iqbal b7297048ad Remove cloned observations a worktree's start revision doesn't track
Content: the tree of `development` at a8e59892a7, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal 92764d0935 Give worktrees the observations as copy-on-write clones of the main worktree's
Content: the tree of `development` at 09b2cb97e7, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal d022f229a7 Add scripts that cut a machine's disk writes from worktrees, targets and traces
Content: the tree of `development` at 6213cb4128, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal 939baf06ed Build the release profile without incremental caches, and add a debugger profile
Content: the tree of `development` at b18c3c1e82, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal 1d15b13eb7 Complete a queued commit its own work refused
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.
2026-10-26 13:19:05 +02:00
Anees Iqbal 3f1c1e60d1 End the auto-trait walk at a render lowering slot, at the default recursion limit
The steps this packet landed as, in order:
- Pin the runtime sources with the lowering slot's auto-trait boundary

Content: the tree of `development` at a6fba3966c, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal 6da0b55c4b Leave a commit's own work behind a render encoder's end in flight, on request
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.
2026-10-26 13:19:05 +02:00
Anees Iqbal 36eac8adf5 Give a memoryless texture of several levels or layers device memory on MoltenVK
The steps this packet landed as, in order:
- Set the artifact format and runtime versions and pin the runtime sources for MoltenVK 1.4.2
- Bless the census's product line and regenerate the refusal surface at the MoltenVK 1.4.2 tree

Content: the tree of `development` at 6267cde0be, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal c50d3442f9 Name pipeline_creation_diagnostics in the docs that named its old name
Content: the tree of `development` at 16f6156765, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal d26e44c6e4 Read the validation layer 1.4.363's shader-stage wording of a hazard
Content: the tree of `development` at 81c36d1843, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal e3ade73ace Run a fragment's quads whole through MoltenVK 1.4.2 without shaderQuadControl
The steps this packet landed as, in order:
- Withhold MoltenVK 1.4.2's blend warning of attachments it cannot blend
- Measure the M3 Max at MoltenVK 1.4.2, named apart from the M4
- Say what queue_storms measured at MoltenVK 1.4.2 plainly
- Make a heap's set layout MoltenVK's support query refuses only where it runs it, announced

Content: the tree of `development` at 285be2f493, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 8ccd478af5 Keep the addressed import's pages until its deallocator ran
Content: the tree of `development` at 377580366b, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 1505f4f5b3 Lower a render encoder's end on the device's lowering thread, on request
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.
2026-10-26 13:19:04 +02:00
Anees Iqbal 59f83d5bd4 Lower a render encoder's logged calls on the device's lowering thread, on request
The steps this packet landed as, in order:
- Regenerate the refusal surface and pin the runtime sources with the lowering thread

Content: the tree of `development` at e282080dd5, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 19ccb91916 Log a render encoder's calls and lower them after they return, on request
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.
2026-10-26 13:19:04 +02:00
Anees Iqbal cc7d0f3e3c Share the draw replay's eligibility rules in metal2vulkan::bind
The steps this packet landed as, in order:
- Draw GPU-written render executions on the device in the validation executor
- Shard the M3 Max pass-chain tables so no test nears nextest's limit
- Set the semantics and runtime versions and pin the runtime sources at the merged tree
- Bless the golden hashes for the merged-draw ICB fixture
- Bless the authored compile census at semantics 1809
- Regenerate the refusal surface at the merged tree

Content: the tree of `development` at 3bb4f250ea, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal b94953dfa9 Resolve GPU-alone work's resident set at the first submission, not by recording it again
Content: the tree of `development` at 3f5472f696, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal d6fcaef151 Put the program's render encoder in front of its lowering
Content: the tree of `development` at 12dcaf3df6, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal d218c939a4 Encode again at a rebind an encoder whose only host-page use is its end copy back, and its GPU-alone work
Content: the tree of `development` at 3c7d40aea2, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 10e254c189 Note and gather only the uses a draw changed from the last draw's
Content: the tree of `development` at 7269e30cc0, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal e41b1b9035 Release pool and mipmap scratch blocks inside an exit-guard section
Content: the tree of `development` at a4f7989a0b, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal dbd4d908e4 List a used resource as written only in the stages whose function writes memory
The steps this packet landed as, in order:
- Take a draw's shape from its encoder's earlier draws of the same inputs

Content: the tree of `development` at e5259206a6, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 8c96577b40 Record GPU-alone work again at a rebind before the first submission
Content: the tree of `development` at adea9e457c, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 8237c45cab Refuse a shadowed pass's GPU-written execution only where a reach past its call meets a shadow
The steps this packet landed as, in order:
- Run GPU-written render executions on the GPU alone in passes with shadowed textures

Content: the tree of `development` at 3349566ac4, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal b30642f159 Merge a GPU replay's draws of one list type or points into one draw in the translator
The steps this packet landed as, in order:
- Draw a GPU-written render execution of one list type or points as one merged draw
- Reset an indirect command buffer's records on the GPU with one fill
- Regenerate the refusal surface after the merged draws, rebased onto development
- Regenerate the refusal surface over the host-step cause

Content: the tree of `development` at 99ae896ad5, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 15400171f0 Name the rule that sent a render execution to the host step in its notice
Content: the tree of `development` at 6c685a586b, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 31421e12b9 Bind set 0's buffers at dynamic offsets and find a command's set 0 among its command buffer's
Content: the tree of `development` at fa2a26bda6, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 710a557e16 Draw host_ab's many_draws again with its uniforms over host pages a heap lies over
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.
2026-10-26 13:19:04 +02:00
Anees Iqbal 4a286a459a Send GPU-written compute executions to the host step where it runs them faster
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.
2026-10-26 13:19:04 +02:00
Anees Iqbal f05f8a5a94 Count a replayed draw's misses of the buffers its slot tables do not hold
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.
2026-10-26 13:19:04 +02:00
Anees Iqbal eaaa1741fb Leave a settled two-leaf sum undecorated where no device can combine it with a neighbour
Content: the tree of `development` at d5ea6075d8, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 83ecf464ec Make a long new host-visible buffer in fresh pages imported by pointer, with nothing written
Content: the tree of `development` at 12606c508c, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 44f56137e3 Time host_ab's held new buffers and their first CPU write in the memory workload
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.
2026-10-26 13:19:04 +02:00
Anees Iqbal 3d9304798d Add host_ab's icb workload: a kernel writes compute commands that a second encoder executes
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.
2026-10-26 13:19:04 +02:00
Anees Iqbal b073ccfa4e Read only the slots calls changed when a draw brings a stage table in place
Content: the tree of `development` at 9cbf7c95db, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal f864c34b29 Replay GPU-encoded draws on the device: replay-bound vertex and fragment functions and a draw preprocess
Content: the tree of `development` at bd0d482965, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal cb72ae8d51 Retain an argument table's object once per encoder, whichever slot binds it
Content: the tree of `development` at 9a0e3e697b, unchanged.
2026-10-26 13:19:04 +02:00
Anees Iqbal 7b5fc45e15 Add host_ab's burst workload: calm frames and bursts measured apart
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.
2026-10-26 13:19:04 +02:00
Anees Iqbal b8dcbe21bc Hold every plain static threadgroup array as a typed object, indexed by its GEP's own operands and clamped by min
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.
2026-10-26 13:19:03 +02:00
Anees Iqbal a81fe9a689 pipeline_creation: expect two pooled makings on every device, the 16-bit normalized classes keying apart
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.
2026-10-26 13:19:03 +02:00
Anees Iqbal 651dcbd8f4 Read which commands a function may write into indirect command buffers
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.
2026-10-26 13:19:03 +02:00
Anees Iqbal 01550595a0 Expect a BGRA8 or RGBA8 shadow's merge to fetch on every device in the pitched-surfaces lane
Content: the tree of `development` at 24e981a489, unchanged.
2026-10-26 13:19:03 +02:00
Anees Iqbal 21f996955f Add the hwd_half_reads fixture's golden printout and its engine inventory rows
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.
2026-10-26 13:19:03 +02:00
Anees Iqbal a1c24843d3 Print host_ab's submission counts: completed waits, bare starts, submit infos, finales, pending depth
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.
2026-10-26 13:19:03 +02:00
Anees Iqbal d564d7836f Order a blit encoder's untracked uses by key and range, not as one class
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.
2026-10-26 13:19:03 +02:00
Anees Iqbal fa19bdd391 Check every half bit pattern through a kernel's moves on every profile
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.
2026-10-26 13:19:03 +02:00
Anees Iqbal bd4499fcd3 Count a typed threadgroup half array's volatile accesses as one each, and keep the arena's covered
Content: the tree of `development` at fc574f50aa, unchanged.
2026-10-26 13:19:03 +02:00