Files
metal2vulkan/docs
Anees Iqbal a7166b2ded Translator: the open_cl_lines variant goes; the runtime never asks for it
LoweringInputs::open_cl_lines, VariantKey::open_cl_lines and metal2vulkan-air's
SpecRequest::open_cl_lines named the 1D images of a kernel of OpenCL mode that a 1D texture is
bound for, which then kept their 1D type and operations. metal2vulkan-runtime never asks for
that variant: it refuses a 1D texture bound for such a kernel (Gap::OpenClLineTexture, the
encoder's check of interface.open_cl_mode), since no reading of one is documented Metal, and
nothing else in the tree sets the field.

Consumer search: reims-vgpu cc1f47b30b (its development, read only): git grep -n open_cl_lines
-> 0 hits (its only OpenCL hits are its own open_cl_mode fields and the
RGFX_COMPUTE_PIPELINE_OPENCL_MODE flag). Its generated link-order.txt names
VariantKey::lowering_inputs' closures, not the field.

Deleted:
- metal2vulkan-air: SpecRequest::open_cl_lines; canon::opencl::entry's lines argument (every 1D
  image of the kernel now takes its 2D texture's type); canon::opencl_1d's kept parameters
  (site, of_params, kept_params), so expand rewrites every 1D operation it lists; the doc lines
  that named the variant. Entry::open_cl_1d_images stays: its doc drops the variant.
- metal2vulkan: LoweringInputs::open_cl_lines, VariantKey::open_cl_lines (is_empty and
  lowering_inputs), the function key's "open-cl-lines" part (appended only when set, so every
  surviving key hashes the same bytes), and compile.rs's plumbing: InputsFrom::open_cl_lines,
  StageEntry::open_cl_lines, the lines half of the stage entries' (mode, lines) match,
  given_inputs' clearing and the request's lines.
- Tests: the variant's half of the AIR test (renamed
  opencl_1d_images_take_their_2d_textures_types, which keeps its OpenCL-mode type names and
  open_cl_1d_images assertions), the api round-trip values, and the field in every
  SpecRequest and LoweringInputs literal (air canon tests, memory plan tests, air_canon,
  validation's check.rs).
- docs/API.md's OpenCL image paragraph named the variant; it now says each Mac's reading of a
  1D texture there, which the kernel does not take.

Public surface: python3 scripts/api-signatures/signatures.py --bless removes exactly the three
field records (metal2vulkan-air::SpecRequest.open_cl_lines,
metal2vulkan::cache::VariantKey.open_cl_lines, metal2vulkan::pipeline::LoweringInputs.open_cl_lines),
a breaking change of the two published crates. refusal_surface.py reads no such field:
--check passes unchanged, docs/REFUSALS.md does not move.

Output: none moves for any input the runtime makes. A kernel compiled with an empty set, the
only one anything sent, specializes and keys as before; SEMANTICS_VERSION stays (as at
a7dd2e846e for the binder's inputs). The per-parameter meter ticks of kept_params go with it.

Search at 9db78abe7d: git grep -n open_cl_lines -- crates docs: 37 hits across compile.rs,
cache/mod.rs, lower_inputs.rs, key.rs, the AIR canon and the tests; 0 after.
2026-12-04 18:12:42 -08:00
..