Commit Graph
88 Commits
Author SHA1 Message Date
Anees Iqbal c077f90a8c wip: stable divergence answers, paste-ready rows, site guard
The steps this packet landed as, in order:
- wip: stable divergence answers, paste-ready rows, site guard
- Make a divergence row's answer say how much moved, not where the walk noticed
- wip: probe() records a sweep's device gap
- wip: record the sparse sweep's device gap at its nested site
- Adopt the sparse tails, classify the multisampled sweep, record a sweep's device gap

Content: the tree of `development` at ed040e34c2, unchanged.
2026-10-26 13:19:10 +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 5bd3212bc5 Make the padded 10-bit textures Metal makes, and refuse only the creator it refuses
The steps this packet landed as, in order:
- Regenerate the refusal surface at its own commit

Content: the tree of `development` at d7c4cec847, unchanged.
2026-10-26 13:19:09 +02:00
Anees Iqbal 6bc33f2787 Compile a rasterization-rate map of a zero screen extent, as Metal does
The steps this packet landed as, in order:
- The zero-screen-width case is behavioural now, and its ledger row is gone
- Make the zero-screen-width map through the runtime, refusing only what Metal cannot survive
- Regenerate the refusal surface at this branch, and name the ledger row's type
- Hold the zero-extent map on the device, and pin the new public constant

Content: the tree of `development` at 438c844920, unchanged.
2026-10-26 13:19:08 +02:00
Anees Iqbal 37dee90cd7 Refuse a scheduled signal once the command buffer failed, as once it completed
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.
2026-10-26 13:19:07 +02:00
Anees Iqbal 98bc475ee8 Reset and copy an ICB's words past the last command's lengths as Metal does
The steps this packet landed as, in order:
- Regenerate docs/REFUSALS.md over the sixteenth stack
- Pin the runtime sources of the sixteenth stack

Content: the tree of `development` at fa4253cda4, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal 6cd9860d7e Skip the fill and fetch lanes' cases a device refuses for a capability it lacks
The steps this packet landed as, in order:
- Answer the framebuffer-fetch row and isFramebufferReadSupported yes where the storage form fetches every format
- Let the one- and two-channel sRGB fetch lane pass on a device that renders neither format
- Bump the runtime version for the sixteenth stack

Content: the tree of `development` at 489b585624, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal e4a889debb Hang at a pass of no draw call over a mutable rate map, as Metal's GPU does
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.
2026-10-26 13:19:07 +02:00
Anees Iqbal ea82819058 Read two-plane YCbCr textures over any surface as Metal does
The steps this packet landed as, in order:
- Skip the sample counts a device refuses in the sample coverage lane
- Require every one-sample case drawn in the sample coverage lane
- Bump the semantics and runtime versions for the fourteenth stack

Content: the tree of `development` at 0f5a7c8084, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal eee19cb365 Fetch, write and blend one- and two-channel sRGB attachments as Metal does
The steps this packet landed as, in order:
- Regenerate docs/REFUSALS.md after the one- and two-channel sRGB fetch

Content: the tree of `development` at 7cad8e47f1, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal e9967ecdc9 Loop a coverage reader that writes outputs, as Metal runs it per sample
The steps this packet landed as, in order:
- Bump the semantics, artifact format and runtime versions for the thirteenth stack
- Pin the runtime sources and bless the golden table over the thirteenth stack

Content: the tree of `development` at 57bfb2c4d6, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal 35dd559a04 Bound a run of indexed indirect draws' index fetches in two dispatches
The steps this packet landed as, in order:
- Announce a provoking mode past 1 at the draws Metal's third way draws otherwise

Content: the tree of `development` at 107929f7b9, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal 8294000cbf Encode a predicated compute encoder again at a rebind where it was its unit alone
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.
2026-10-26 13:19:07 +02:00
Anees Iqbal 815e96f8dd Store passes into the YCbCr code formats as Metal
The steps this packet landed as, in order:
- Keep mesh_object_arguments_module's doc to public items
- Bump the semantics, artifact format and runtime versions for the twelfth stack

Content: the tree of `development` at b833dbb760, 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 a836b22821 Run loads, masks, blends and unstored passes into YCbCr attachments as Metal
The steps this packet landed as, in order:
- Bump the semantics, artifact format and runtime versions for the eleventh stack

Content: the tree of `development` at 02c396984e, 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 b8fb5f48c2 Refuse a scheduled signal encoded once the command buffer completed
Content: the tree of `development` at 2393e6fe47, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal ebc115db47 Divide a merged draw's total by its chunk in u32 words
The steps this packet landed as, in order:
- Bump the semantics and runtime versions for the tenth stack
- Pin the runtime sources of the tenth stack

Content: the tree of `development` at edd12dcb5f, unchanged.
2026-10-26 13:19:07 +02:00
Anees Iqbal 642435208f Draw a run of direct indexed strips' lists in one dispatch
The steps this packet landed as, in order:
- Draw far-start public draws under the last provoking vertex in the pulled list form

Content: the tree of `development` at 77ada94845, unchanged.
2026-10-26 13:19:06 +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 effa0c09a2 Refuse a second-source blend without its output as Metal refuses it
The steps this packet landed as, in order:
- Expect Metal's refusal of a second-source blend without its output in the extended-range test
- Blend a fetched four-channel sRGB attachment as Metal does
- Regenerate docs/REFUSALS.md after the sRGB blend and Metal's second-source refusal

Content: the tree of `development` at e2db96d3b2, unchanged.
2026-10-26 13:19:06 +02:00
Anees Iqbal 87eb8bc3b7 Reset and mutable rasterization-rate maps, as Metal's GPU reads them
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal 13ec02d2bd Apply OpenGL-on-Metal's sampleCoverage per pixel place, as Metal does
The steps this packet landed as, in order:
- Count the sample coverage lane's runs with a function that writes no color

Content: the tree of `development` at dd3ba4e01e, 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 f859a4360b List the icb_object_threadgroup fixture with its golden printout
The steps this packet landed as, in order:
- Bump the semantics and runtime versions for the sixth stack
- Pin the runtime sources of the sixth stack

Content: the tree of `development` at 13f38b8d42, unchanged.
2026-10-26 13:19:06 +02:00
Anees Iqbal 3bd3f8ace2 Skip mesh pipelines that read weights where the device has no barycentrics
The steps this packet landed as, in order:
- Gather the lists of indirect draws in runs, planned on the GPU
- Regenerate the refusal surface over the indirect gather

Content: the tree of `development` at 9aa8e75be9, unchanged.
2026-10-26 13:19:06 +02:00
Anees Iqbal 986b35d5e0 Map an indirect sparse update's arguments as plain Metal maps them
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal ac54e28297 Blend a fetched attachment with the second source, as Metal allows
The steps this packet landed as, in order:
- Regenerate docs/REFUSALS.md after the second-source blend of a fetched attachment
- Bind the generic blend lane's buffers at a u32 index

Content: the tree of `development` at d556610e9d, unchanged.
2026-10-26 13:19:06 +02:00
Anees Iqbal 9996333372 List the pdc_compare_clamp fixture in the engine fixture inventory
The steps this packet landed as, in order:
- Bump the semantics and runtime versions for the fourth stack

Content: the tree of `development` at ba2f154591, unchanged.
2026-10-26 13:19:06 +02:00
Anees Iqbal 97d01927cb Fail a faulted command buffer from its encoder on, at Metal's fault timing
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal 245f432e2e Keep a two-plane 3D texture over its first slice in a heap, with Metal's blits and CPU copies
The steps this packet landed as, in order:
- Bump the semantics, artifact format and runtime versions for the third stack
- Pin the runtime sources of the third stack
- Bless the golden hash tables over the third stack

Content: the tree of `development` at 2fde63f27f, 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 aaaaf501f4 Draw an emulated mesh's primitives from their last index at mode 1
The steps this packet landed as, in order:
- List the provoking notices among the kinds a lane test takes
- Take only the provoking kinds in the no-primitive lane test
- Fit the second stack's draw forms together, and regenerate docs/REFUSALS.md
- Pin the runtime sources of the second stack
- Bless the golden hash tables over the second stack

Content: the tree of `development` at b1ea97c5cf, unchanged.
2026-10-26 13:19:06 +02:00
Anees Iqbal 1391e59bce Read uploads from a pointer once, so a guest's bytes need no copy first
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal 007879f9f9 Blend a fetched attachment of any float-class format in the shader, logged
Content: the tree of `development` at a9eec8fa77, 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 a3a4cf756d Run a predicated loop's copies again until the loop ends
The steps this packet landed as, in order:
- List the predication word-past-buffer notice with the lane test that takes it

Content: the tree of `development` at 306e89f59b, unchanged.
2026-10-26 13:19:06 +02:00
Anees Iqbal b36ac146e8 Read a mipmapped two-plane heap texture's later level from its image in getBytes
The steps this packet landed as, in order:
- Bump the semantics, artifact format and runtime versions for the second stack

Content: the tree of `development` at 7b22e87450, unchanged.
2026-10-26 13:19:06 +02:00
Anees Iqbal b26640bac9 Reach every live sampler state by its ID through device-wide sampler tables
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.
2026-10-26 13:19:06 +02:00
Anees Iqbal 7f50ad492e Run a predicated loop's copies again until the loop ends
Content: the tree of `development` at 61cb931693, unchanged.
2026-10-26 13:19:05 +02:00
Anees Iqbal 537b9caf0c Close host_ab's calls workload, and fit two lane files to the stack
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.
2026-10-26 13:19:05 +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 123a9919fc List argument samplers at each batch's submission, and retire resource-id-takeover
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.
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 9516e41497 Say what an indirect command holds of the pipeline state set on it
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.
2026-10-26 13:19:05 +02:00