Commit Graph
75 Commits
Author SHA1 Message Date
Anees Iqbal 00f7c18aab Drop the Apple M4's device profile
The owner asked for the M4 profile to go: no venue runs an M4 (the M4
venue was dropped on 2026-10-11), and its capture differed from the M3
Max's only in the identity and the allocation sizes, so every test that
named it repeated the M3 Max's case.

- crates/metal2vulkan-validation/profiles/moltenvk-m4.json is gone, with
  its regen-device-profiles source, its README row and paragraph, and its
  four opened_chains.txt rows.
- MOLTENVK_CAPTURES holds the M3 Max alone. Tests that looped over both
  captures take the M3 Max's; loops over that one capture are unrolled
  (clippy's single-element rule). Tests that took the M4 as a device of
  the pixel interlock, of fragment stores, or of the family audit take
  the M3 Max's capture, which has the same features.
- validation: a_run_on_the_m4_at_the_m3_max_venue_stops_on_its_name_alone
  is gone; the C3 venue test builds its second GPU's device from the M3
  Max's capture under another name.
- Docs and a probe comment no longer name the capture.

Left red here, fixed in the next commit (which removes the per-release
driver table these tests pin): driver_facts tests that measure the M4's
identity (an_unmeasured_identity_takes_its_drivers_defects_alone,
moltenvk_1_4_2_is_measured_on_the_m3_max_alone,
moltenvks_linear_attachment_features_are_left_out,
the_profile_takes_the_deviations_its_driver_release_is_measured_with) and
two arith tests whose measured device was the M4
(half_arithmetic_on_the_device_follows_the_profile,
the_fused_multiply_add_route_follows_the_profile). The golden tables'
M4 columns are re-blessed after the change.

Verified: cargo clippy --workspace --all-targets --all-features
-D warnings is clean; the core suites ran (failures above, the run
continuing against this tree).

Originally bfdfe81d37 (archive/development-linear-2026-10-28).
2026-10-28 17:24:20 +02:00
Anees Iqbal a14ea5dba8 Make the --cfg m2v_gpu device lane one repeatable command
The steps this packet landed as, in order:
- Name a device-lane shard by the whole area it starts in
- Read a nextest listing by what its filterset takes, not by what it holds
- Say in --help what a slice marks in the report
- Keep the lane runner's lines and its verdict readable
- Say what the device lane's ignored tests actually are
- Align the shard table's header with its rows
- Hold each shard to the tests it had to run, not to nextest's skipped figure
- Say why no shard run builds under the wrap
- Compile each device-lane shard before it takes the GPU lock
- Say why both halves of a shard keep the workspace scope
- Say what a shard's wrapped seconds are, and what they are not

Content: the tree of `development` at 48daef6735, unchanged.
2026-10-26 13:19:20 +02:00
Anees Iqbal 1395addb47 Say what Metal leaves where a plane's GPU rows share bytes, and guard the copy that had no rule
The steps this packet landed as, in order:
- Name BGRA4Unorm's packed-16 attachment and its color input in the API guide

Content: the tree of `development` at ebd18b3408, unchanged.
2026-10-26 13:19:19 +02:00
Anees Iqbal 588c40f91e Credit the format-by-type grid the read-write tier case puts to Metal
Content: the tree of `development` at 294fa689f9, unchanged.
2026-10-26 13:19:19 +02:00
Anees Iqbal 1366be1718 Read the problems a Problem forwards to, and hold each to a basis
The steps this packet landed as, in order:
- Keep the quoted Metal messages out of rustdoc's link syntax
- Record the runtime sources' hash after the sub-problem basis lines

Content: the tree of `development` at 3ade9d9999, unchanged.
2026-10-26 13:19:18 +02:00
Anees Iqbal 25ab1ea82b Read the storage mode the suite's cases actually state
Content: the tree of `development` at 1f1ac002e7, unchanged.
2026-10-26 13:19:18 +02:00
Anees Iqbal 04820f0bed Read the conformance suite's unit tests out of its Metal leg
The steps this packet landed as, in order:
- Read the selectors the suite's Metal leg sends by hand
- Type the receivers the suite's Metal leg binds by pattern
- Read the receiver, the chain and the closure the leg actually writes
- Say what still costs an unresolved call site
- Re-bless the golden tables after the extension vocabulary grew

Content: the tree of `development` at 1116f3a6d0, unchanged.
2026-10-26 13:19:18 +02:00
Anees Iqbal cee7431132 Record, per refusal, why Metal is believed to refuse the input
The steps this packet landed as, in order:
- Record the runtime sources' hash after the refusals' basis lines

Content: the tree of `development` at 75f847189a, unchanged.
2026-10-26 13:19:18 +02:00
Anees Iqbal d407ac79c8 Write the regenerator's .air only where the fixture directory holds one
The steps this packet landed as, in order:
- Hold the committed TOOLCHAIN files to the byte order the script writes

Content: the tree of `development` at 83ad1605e6, unchanged.
2026-10-26 13:19:17 +02:00
Anees Iqbal ce22858836 Move the fill's empty pattern and the unstrided indirect buffer out of Invalid
Content: the tree of `development` at cac3120433, unchanged.
2026-10-26 13:19:17 +02:00
Anees Iqbal 2bd6f6fcf8 Record none of a pending dispatch's commands once a rebind freed what they name
The steps this packet landed as, in order:
- Pin the published crates' public surface by signature

Content: the tree of `development` at e46d17fe41, unchanged.
2026-10-26 13:19:17 +02:00
Anees Iqbal 7561e7bc4e Move the four refusals plain Metal takes out of Error::Invalid
The steps this packet landed as, in order:
- Hold the off-four execution range to an offset inside its buffer

Content: the tree of `development` at 15b0982f8c, unchanged.
2026-10-26 13:19:17 +02:00
Anees Iqbal eab25ced7d Cite a refusal's sites by file and function, with no generation stamp
The steps this packet landed as, in order:
- Say so when a conformance-coverage module is run as a command
- Order the TOOLCHAIN fixture lines by byte value, not by the host's locale

Content: the tree of `development` at b5a0b1378b, unchanged.
2026-10-26 13:19:16 +02:00
Anees Iqbal 302b45d57a Carry a venue's own gap in the failure's recorded value
The steps this packet landed as, in order:
- Flag what moves between runs of one replay selection
- Read a leg function handed to a combinator as an edge

Content: the tree of `development` at f3069fdc8e, unchanged.
2026-10-26 13:19:14 +02:00
Anees Iqbal 8b786a7304 Declare the discrete-card memory notice on every fresh-contents row
The steps this packet landed as, in order:
- Hold the venue memory notice in one place, beside notice_allowance
- Declare the discrete-card memory notice in eleven families that named none
- Declare the discrete-card memory notice in eight families that already named others
- Declare the discrete-card memory notice in sixteen more families
- Declare the notices a non-Metal driver provokes in the rest of the a-l shard

Content: the tree of `development` at 1df59f5add, unchanged.
2026-10-26 13:19:14 +02:00
Anees Iqbal feb0dca3ec Hold a crossing's field axis to the field its module's own data states
The steps this packet landed as, in order:
- Declare the crossings two pass families already hold

Content: the tree of `development` at a4805b6ba1, unchanged.
2026-10-26 13:19:14 +02:00
Anees Iqbal 0f7913c84e Make layered and sliced rendering reachable, and compare it
The steps this packet landed as, in order:
- Re-derive the generated documents at the landing tip

Content: the tree of `development` at fc6bb53c97, unchanged.
2026-10-26 13:19:14 +02:00
Anees Iqbal 51ef415ed3 Cross tessellation's option space, and MTLPrimitiveType with MTLIndexType
The steps this packet landed as, in order:
- Re-derive the generated documents at the landing tip

Content: the tree of `development` at 2c1636399f, unchanged.
2026-10-26 13:19:14 +02:00
Anees Iqbal 30a76f3e8d Compare the depth-resolved stencil filter against Metal
The steps this packet landed as, in order:
- Measure compressionType, and say why no case states it

Content: the tree of `development` at 2eb1d1baf1, unchanged.
2026-10-26 13:19:14 +02:00
Anees Iqbal 3fd2027718 Cross a pass's store action with the next pass's load action
Content: the tree of `development` at 9bbfa59230, unchanged.
2026-10-26 13:19:13 +02:00
Anees Iqbal a8cdfdf4b0 Take alphaToOneEnabled where the device offers alphaToOne
Content: the tree of `development` at d44e4aac04, unchanged.
2026-10-26 13:19:13 +02:00
Anees Iqbal 80897130a4 Count this round's crossings, and measure the ones the pairs ledger cannot say
Content: the tree of `development` at e5730ba29c, unchanged.
2026-10-26 13:19:13 +02:00
Anees Iqbal da148c3ff0 Take every MTLFunctionOptions word a function descriptor carries
The steps this packet landed as, in order:
- Take an indirect command's buffer at or past the declared bind count
- Re-derive the generated documents at the landing tip

Content: the tree of `development` at dd2238827d, unchanged.
2026-10-26 13:19:13 +02:00
Anees Iqbal 709b119ac1 Count the pairs of the option space a case puts to Metal at once
Content: the tree of `development` at bdf26790f9, unchanged.
2026-10-26 13:19:13 +02:00
Anees Iqbal 980c6cdaa7 Count the option values no case can reach apart from the gap
Content: the tree of `development` at 208724fc04, unchanged.
2026-10-26 13:19:13 +02:00
Anees Iqbal 2313f0d924 Say which items an untyped receiver hides, and bound it honestly
Content: the tree of `development` at 9a29ebc6f8, unchanged.
2026-10-26 13:19:13 +02:00
Anees Iqbal 0ddba0e572 Key the implemented denominator, which the map holds one item of twice
The steps this packet landed as, in order:
- Credit a container's own row, and state what no binding can reach
- Stop dropping call edges, and read a class message broken after `::`
- Report a site name held twice, instead of pairing the two by luck
- Give the hand-declared Metal enums an SDK denominator
- Read a braced `use`, which named values this axis counted nowhere
- Separate what Metal answered from what a case named a site
- State the two floors as what they are, not as what they were

Content: the tree of `development` at 15adea8261, unchanged.
2026-10-26 13:19:12 +02:00
Anees Iqbal acea7ad20b Measure how much of each Metal enum the conformance suite compared
The steps this packet landed as, in order:
- Wrap the option-space axis's two overlong lines
- Blank a source for the hand-modelled scan only where a match needs it
- Remove the self-test's trees when it is done with them
- Say that a sweep by ordinal states no value by name
- Record why an ordinal-stated value must not be resolved by field name
- Re-derive the generated documents at the landing tip

Content: the tree of `development` at 9e1c5a54d5, unchanged.
2026-10-26 13:19:12 +02:00
Anees Iqbal cc34e1a18b Resolve the Metal leg's class-method sends, and stop claiming the limits are closed
The steps this packet landed as, in order:
- Say why a called selector can be missing from the coverage map

Content: the tree of `development` at eed0293b78, unchanged.
2026-10-26 13:19:12 +02:00
Anees Iqbal 1ab5ae7380 Move a 16-bit multisampled depth's samples by draws, as its codes
The steps this packet landed as, in order:
- Say in the refusal surface what a 16-bit depth copy really waits on
- Copy a multisampled 16-bit depth, which plain Metal copies exactly

Content: the tree of `development` at 688b62deab, unchanged.
2026-10-26 13:19:11 +02:00
Anees Iqbal ca39c8f685 Compare every self-fact a function states, specialized and not, against Metal
The steps this packet landed as, in order:
- Compare what a compute and a drawing pipeline state say about themselves
- Stop the coverage derivation dropping a Metal-leg function whose signature holds a semicolon, and type three receivers it could not

Content: the tree of `development` at 35b3d026d4, unchanged.
2026-10-26 13:19:11 +02:00
Anees Iqbal 265230b7a8 Compare an argument encoder's layout and a function's bindings against Metal
The steps this packet landed as, in order:
- Take Metal's answer for the argument-encoder and function-binding cases
- Name the receiver that reads a texture an argument buffer holds, and cut what nothing calls
- Declare the three notices the sampling cases announce on a software renderer
- Keep the argument-encoder module's docs inside what rustdoc will publish

Content: the tree of `development` at ae72eece5c, unchanged.
2026-10-26 13:19:11 +02:00
Anees Iqbal bf13d43da6 Say what an unimplemented item the leg calls may be
Content: the tree of `development` at 69f9fc84f2, unchanged.
2026-10-26 13:19:10 +02:00
Anees Iqbal 2047524f92 Give EtcDecode its first check against Metal rather than against itself
The steps this packet landed as, in order:
- Give AstcDecode its first check against Metal rather than against itself
- Inventory what the conformance suite verifies, not what we implement
- Leave no bytecode cache beside the coverage script
- Group the conformance inventory by SDK header as well as by container

Content: the tree of `development` at 0375c9b833, unchanged.
2026-10-26 13:19:09 +02:00
Anees Iqbal a4c7613e3d Ask the device for the sample positions it is actually given
The steps this packet landed as, in order:
- Ask the device for the sample positions it is actually given
- Hold a rotated IOSurface texture's pitch to the texture's own row
- Take a PVRTC whole level at any pitch Metal takes it at
- Recompute the runtime sources pin on this base

Content: the tree of `development` at 575917bf7b, unchanged.
2026-10-26 13:19:09 +02:00
Anees Iqbal 3d9d7c5885 Make the ledger hold a divergence and a venue, not refusals alone
The steps this packet landed as, in order:
- Adopt the fragment quad's lavapipe divergence, scoped to that venue
- Name the device's own gap where the vocabulary could not, and the notice in a notice-only difference
- Pin the sparse sample-count chain as the device's gap, with lavapipe's measurement
- Recompute the runtime-sources pin after the rebase

Content: the tree of `development` at fb88ec8599, unchanged.
2026-10-26 13:19:09 +02:00
Anees Iqbal 2567160ae3 Count how much of the public API the per-call table times
Content: the tree of `development` at 5542892eb8, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal 9d783a4e3a Run the emulation's wrapped indirect object grids, reporting Metal's wrapped grid
Content: the tree of `development` at f976f1035d, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal b0b61ac179 Time a fault that later failing encoders follow as Metal's GPU reaches them
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.
2026-10-26 13:19:07 +02:00
Anees Iqbal 4da2c33f1a Zero a multisampled sparse texture's unmapped tiles by clears
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal 1d494932f7 Clear the object-grid lane's targets to zero before reading them as drawn nothing
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal e69068885b Write a kernel's draw of a primitive type past Metal's five as points, as Metal's encoding does
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal 54e399ca25 Draw indirect mesh grids as Metal does, through an arguments pass on mesh-shader devices
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal 027451fc5f Revoke a queue at its second caused GPU error, as Metal does
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal e323ba2f72 Run tile threadgroups of every even shape in Metal's thread layout
The steps this packet landed as, in order:
- Read the coverage after the early depth test for [[sample_mask, post_depth_coverage]]
- Copy a stencil view's texels by the CPU as plain Metal does
- Give multisampled fragment imageblocks a block per sample, and test before writes a test may drop

Content: the tree of `development` at becd3e74a9, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal 1400c9049f Resolve a NaN clear as Metal does in a pass whose draw calls draw nothing
The steps this packet landed as, in order:
- Leave a resolve texture untouched where Metal's tile is not stored into its format
- Take setDepthCleared, setStencilCleared and setVertexAmplificationMode as Metal does
- Run the private alpha test in the fragment function as Metal tests it
- Clamp depth comparison references as Metal's fragmentDepthCompareClampMask says
- Take vertexAmplificationMode and explicitVisibilityGroupID as Metal does
- Record no restricted depth range where the driver keeps depth values outside [0, 1]
- Draw Metal's private logic operation: copy and no-op everywhere, the rest through logicOp
- Leave the default alpha test and clamp mask out of the inputs encoding test's derived Debug
- Clamp the reference of a depth comparison the shader makes under the clamp mask
- Key each Vulkan logic operation's pipeline apart
- Refuse a multisampled extended-range resolve naming its format and Metal's rule

Content: the tree of `development` at 0231dbbd54, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal 766ba91b30 Keep a heap's two-plane array and mipmapped texture in the heap's bytes
The steps this packet landed as, in order:
- Give the 3D two-plane heap texture test a Private descriptor
- Lay a heap's depth and stencil textures out in Metal's tiles on MoltenVK
- Answer Metal's heap size for PVRTC textures and tile them under 27.0.1
- Lay a heap's Depth32Float_Stencil8 texture out in Metal's two tiled planes
- Make a host heap's uncompressed multisample texture in memory of its own
- List the two-plane array fixture in the engine inventory, with its printout
- Let the no-copy heap lane find a compressed texture's texels in Metal's tiles
- Name the depth heap lane's aspect list type for clippy
- Announce a device heap's textures whose bytes are not Metal's layout
- Lay a heap's X32_Stencil8 texture out in a Stencil8 texture's tiles

Content: the tree of `development` at b3c694ad82, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal ee21fca2f4 Write Metal's bytes in texture fills and two-plane buffer blits
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.
2026-10-26 13:19:05 +02:00
Anees Iqbal c83dcdd384 Give the predication step ops that drop, hold and resume a range, and check a unit's end
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.
2026-10-26 13:19:05 +02:00
Anees Iqbal 0d9e71903b Read VK_EXT_provoking_vertex: provokingVertexLast and provokingVertexModePerPipeline
The steps this packet landed as, in order:
- Write the index rewrite pass's primitives in either provoking vertex order
- Draw Apple's last provoking vertex: a last-vertex pipeline, else lists led by it
- Test Apple's provoking vertex modes against Metal's on the device
- Describe the provoking third way as pipeline-dependent; fix the table test
- Check the last provoking vertex through a geometry stage; key its slice notice on stages
- Test that executions keep the first vertex; scale the weights check by the values
- Register rt6_provoking in the engine inventory and golden printouts
- Add host_ab's provoking workload: flat-shaded draws at provoking vertex modes 0 and 1
- Add the index gather pass: one dispatch for a run of direct draws' lists
- Gather direct indexed draws' lists in runs: one dispatch per run, not three per draw
- Add the rotated-weights variant: Metal's barycentric weights from a rotated triangle
- Count private lists' gathers under a last-vertex pipeline; take the open runs whole
- Draw listed triangles' barycentric weights through the rotated-weights variant
- Draw every provoking vertex mode past 1 the third way, its top bit set or not
- Announce nothing for a provoking-mode draw that makes no primitive

Content: the tree of `development` at 91b1df7b21, unchanged.
2026-10-26 13:19:05 +02:00