Files
metal2vulkan/crates
Anees Iqbal 52113199ee Translator: the shared bicubic switch reads each arm's image and format bits under the identity domains
A switch-at-use whose arms all take a bicubic sample (an array of textures, or textures chosen by
a function constant, sampled through one bicubic constexpr sampler) emulates once: a facts
dispatch yields the named candidate's size and format bits, and a taps dispatch reads its texels.
Both read each arm's combined binding and its BicubicTexels specialization, which the identity
domains do not declare, so every such switch under the runtime's domains failed with "internal
error: combined binding ... is not declared".

Under the identity domains an arm's image is now its texture slot's element of the set-1 array at
the index its pushed resource ID holds (emit::identity_image, the image half of the sampled image
a candidate's own sample makes), and its bits the slot's PushField::BicubicTexels, which the plan
already pushed (bicubic::format_bits, the one reading of a slot's bits the own and the shared
emulation share). The resident-table form is unchanged.

SEMANTICS 2278 (with the pixel-coordinate form that lands beside it): modules that failed now translate.
2026-11-22 22:54:11 -08:00
..