Files
metal2vulkan/docs
Anees Iqbal b975f6ddf7 rt: draws of points, through a point-class pipeline, with largePoints on the floor
A draw of points was Gap::Draw (DrawKind::Points) on every device; a guest's Mac walk met it
324 times. It now draws.

- render: a content keeps a point-class VkPipeline beside its line-class one, made with the
  state where the descriptor names the point class (inputPrimitiveTopology), else at the first
  draw of points, a first-use wait (Metrics::first_use_point_waits, FirstUse::Points). The
  vertex module writes PointSize (the function's [[point_size]], at most Metal's 511, or 1.0).
- render_encoder: Metal rasterizes a point of a function without [[point_size]] only under the
  point class; under another it rasterizes nothing and runs the vertex function, so such a draw
  records an empty scissor and the next draw the encoder's again. Points take no depth bias, as
  lines do not.
- floor: largePoints is required, so a written size draws (without it a device draws only 1.0).
  rt's floor is Vulkan 1.3; Vulkan 1.4 lists largePoints among the features it requires
  (vkspec 1.4.366, 55.1 Feature Requirements) and the committed roadmap-2022 profile holds it.
  Every card we run reports it, from vulkaninfo today (device, job, pointSizeRange):
  KosmicKrisp 26.3.1 on the M3 Max m3-max-59492 [1, 511]; RX 550 RADV POLARIS12 59525 [0, 8191.88];
  780M RADV PHOENIX 59525, 59527, 59528 [0, 8191.88]; RX 7900 XTX RADV NAVI31 59527 [0, 8191.88];
  RTX 2080 NVIDIA 620.70.06 59527 [1, 2047.94]; RTX 3090 NVIDIA 620.70.06 59528, 59526
  [1, 2047.94]; Iris Xe RPL-P ANV 59526 [0.125, 255.875]; RTX 5080 Laptop NVIDIA 615.71.09 59529
  [1, 2047.94]; UHD 630 Intel's Windows driver 59532 [0.125, 255.875]; lavapipe 59525..59529
  [0, 256]. The README's floor list says so.
- DrawKind::Points is deleted; docs/REFUSALS.md and the API signature table regenerated.
- tests: on every device, points of [[point_size]] 4 cover their 4 by 4 pixels, the point
  pipeline made once at the first draw of points; a point-class state makes it with the state
  and draws a function without a size 1 pixel wide; under no class such points rasterize
  nothing and a triangle after them draws; a vertex function that stores runs for a draw of
  points as for triangles; floor: largePoints missing is named. The replay player's draw of
  points plays.
2026-11-20 11:12:35 -08:00
..