Files
metal2vulkan/crates
Anees Iqbal 9f4aded219 Translator: a post-tessellation function reads a Constant layout's control-point attribute from its one element
pulled_read takes (ControlPoint, Constant) as it takes (Patch, Constant):
Element::None, the attribute's offset alone, with no stride pushed or
depended on. A control-point call fetches such a member with no element.
It computes the control point's element only when some member steps per
control point, so a struct of Constant members alone needs no elements
input. The module doc states the rule and Metal's measured answer (every
control point reads element 0, Mac job m3-max-80062).

Verified: lavapipe (llvmpipe), job m3-max-80143 at the same tree on a
scratch branch: both tests pass, with the patch draws beside them.
2026-12-02 14:41:34 -08:00
..