Files
metal2vulkan/crates
Anees Iqbal f88dac1890 rt tests: three of argument buffers tier 2's forms on every device
Device tests, under either device cfg, of three things Metal's argument buffers tier 2 adds over
tier 1 (Apple's "Improving CPU performance by using argument buffers"), each a kernel run through
the form and its result checked:
- writable textures in an argument buffer: a8r_buffers' a8r_held reads a read_write member's
  texels, then writes it and a write member;
- an argument buffer the GPU writes: ab_tier2's ab_copy copies a texture member from one argument
  buffer to another, and ab_read reads through the copy;
- an argument buffer the CPU cannot reach: a Private buffer a blit filled, which ab_read reads
  through.
The program writes each texture member as the texture's gpuResourceID.

The tier answer itself (argumentBuffersSupport) is not here: the fourth form, pointer indexing
through a pointer member to other argument buffers, is refused by the translator under the
identity domains (ab_indexed: Unsupported{IdentityDomains, NotImplemented}, job m3-max-51819), and
the planner rules the answer.

Verified: the three passed on lavapipe in job m3-max-51819's device-tests step (at the commit
that held them beside the getter); this commit's own run is the next check job.
2026-11-19 06:34:27 -08:00
..