Files
metal2vulkan/crates
Anees Iqbal 55e5dcfd98 Fix forward of 4e3a6a3555: the translator's floor tests take shaderOutputLayer as the floor's
4e3a6a3555 put `shaderOutputLayer` in the runtime-floor profile (the floor requires it), and
five translator tests still read that profile as a device without it. Development's suites at
0dc56519c9 (m3-max-61646) failed them, and m3-max-61671 printed each failure:
- a_profile_without_shader_output_layer_draws_or_refuses_every_amplification: its first assert,
  that runtime-floor lacks the feature;
- amplification_draws_refuse_what_the_variant_cannot_be: the layered variant compiled (Ok) where
  the test expected Unsupported(VertexAmplification);
- on_the_floor_a_read_is_zero_and_a_selected_slice_needs_either_feature: amp_fragment_layer's zero
  indices were [] (the floor declares Layer), not [Layer];
- feature_dependent_entries_name_their_capability: stage_io_vertex_layer compiled on the floor;
- fragment_layer_and_viewport_inputs_take_the_enabled_alternatives: the floor's zero indices were
  [ViewportIndex], not [Layer, ViewportIndex].

Each test meant a device without the output, which the translator still serves for its own
consumers, so each now takes runtime-floor without `shaderOutputLayer` ("below the floor") for
that half: a new `below_the_floor()` in engine_amplification, a withheld feature in
engine_selected_indices (its test renamed below_the_floor_...), and `profile_without` in the two
stage_io files. Where the floor's own answer changed, the test asserts it: stage_io_vertex_layer
compiles on the floor, and a fragment there reads Layer through its builtin under ShaderLayer
and only ViewportIndex as 0. Two doc comments named lunarg-desktop-baseline-2023 for the
profile; they name the one used.

The selected-indices test's dropped-layer variant and the amplification test's geometry-stage
half test forms cutxlate's queue deletes; they go with those forms.

Test-only. Verified: m3-max-61699 (msi) at b143b912be, the four files' 41 tests
(engine_amplification, engine_selected_indices, engine_stage_io, engine_stage_io_tail) pass.
2026-11-20 21:37:51 -08:00
..