diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index 9af8576f5..9bbecbc8d 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -5234,6 +5234,19 @@ cache is answered compile-required on both. `VkBuffer`, so such a draw reads the block's later bytes as indices, and a count past the block's end is outside Vulkan's valid usage without `robustBufferAccess2`, which the floor does not require (`VUID-vkCmdDrawIndexedIndirect-robustBufferAccess2-08798`). +- On the Mac host (KosmicKrisp, Mesa 26.3.1, on an Apple M3 Max), an indirect patch draw + (`draw_patches_indirect`, `draw_indexed_patches_indirect`) of more than one instance can draw a + patch of an instance past the first from the wrong control points, so it is missing where it + belongs; which patch varies from one draw to the next. The runtime records the draw as one + `vkCmdDrawIndirect` of Metal's arguments, as on every device. The driver runs tessellation as + compute work, and for an indirect draw dispatches the vertex and control-point grid sizes it + computes in threads as that many threadgroups, so the extra work overwrites the next instance's + vertices and control points (read from the driver's source, not instrumented). A bare Vulkan + program of 2 patches in 2 instances, with no runtime code, lost the second instance's second + patch in 3 of 8 indirect draws and in none of 8 direct ones under KosmicKrisp, and in none under + MoltenVK on the same GPU; its indirect draws of one instance were right (job m3-max-81189). The + runtime's two device tests of it fail there with `indirect` true (m3-max-81082), and pass on RADV + on the RX 7900 XTX and the Radeon 780M (m3-max-80750) and on lavapipe (m3-max-80990). - Refused by `Gap::Draw`, naming its `DrawKind`: the triangle fill mode `Lines` on a device without `fillModeNonSolid` (KosmicKrisp on the M3 Max, of the venues dumped, m3-max-48737) (`FillMode`, `set_triangle_fill_mode`), and no viewport or scissor rectangle, or more than 16