Files
reims-vgpu/docs
Anees Iqbal 649050cf96 ⬆️ Build on metal2vulkan development f8181e2a6c
Moves the runtime to metal2vulkan development f8181e2a6c. SEMANTICS moves from
2280 to 2286, so every host translates its guests' shaders again once;
ARTIFACT stays 592 and RUNTIME 2550.

What changes for the guest at this pin:
- A sampler bound with LOD clamps of its own (setSamplerState:lodMinClamp:
  lodMaxClamp:atIndex: and its vertex, fragment and range forms) samples with
  the bind's clamps, as Metal does, where rt refused the bind (Gap::LodClamps).
  Past 4,000 live clamp variants a bind is rt's Limit::LodClampVariants.
- A vertex function's slice and viewport index are stored as it writes them,
  and as 0 where it never writes them; rt refused such a function where it
  could not show the index the same at a primitive's vertices, or where the
  function never wrote it.
- A storage cube or cube array written or read by face translates.
- MSL 3.2 program-scope buffer bindings translate; other program-scope shapes
  are refused under their own features (Feature::ProgramScopeBinding is gone).
- A thread's array of buffer pointers indexed at run time translates in two
  more shapes.
- An argument buffer's command-buffer word is plain data, and a render state
  whose functions may reach indirect command buffers is made.
- A kernel with an explicit imageblock dispatches, where rt refused the
  dispatch; it runs at 1 by 1 for now, since the compute encoder still gives rt
  no setImageblockWidth:height: size. The next commit passes the guest's size.

For the host: a kernel keeps its first 8 pipeline variants and the 56 last
dispatched, so rt's memory for one kernel's variants is bounded, and
threadgroup memory lengths round up to 16 bytes in its keys.

The two calls into rt that changed take the imageblock size as a fourth
argument: the compute state's make ahead (prepare_dispatch) and key
(dispatch_variant), each passed [1, 1], Metal's size for an encoder that sets
none. The accuracy ledger's imageblock row and the compute encoder's docs say
what the guest sees at this pin.
2026-11-23 01:54:10 -08:00
..