Files
metal2vulkan/crates
Anees Iqbal d6d56b8a7c rt test: a state without an attribute only a gated-off varying reads is made and draws
What: every_device_makes_and_draws_a_state_without_an_attribute_only_a_gated_off_varying_reads.
The owned fixture engine/fca_vertex_unread_attribute with has_color false, a vertex descriptor
of attribute 0 alone, one draw covering the target: the state is made through the runtime, with
no VertexAttribute { attribute: 1 } refusal, and every texel is the fragment function's shade,
(64, 128, 191, 255) within one code.

Why: a guest's 3D file preview drew magenta because a pipeline was refused
InvalidDescriptor(VertexAttribute { attribute: 1 }) where Metal's specialized vertex function
marks the attribute inactive. The translator fix (c8484ddf0f, canon's unread inserts) is tested
in the translator under Device::from_queries, and its device test went with the deleted runtime,
so nothing ran the guest's shape through the runtime's own state make and draw. The bug list held
it open as "rt unverified" until a consumer boot. This test fails without c8484ddf0f: the state
make refuses the descriptor.

Verified: the lane's lavapipe job (named in the report).
2026-11-20 21:38:40 -08:00
..