Files
metal2vulkan/crates
Anees Iqbal 7de0a8c8bb AIR: static_values answers a float or half predicate by its bits
canon::static_values, which validation's case checker uses to resolve the
globals the ABI states (metadata integers and predicates), read every global
through Values::int, which takes no float. So the predicate of a float or
half function constant (267d3163a6's shape) never evaluated there, and the
checker recorded every such case as partial ('the predicate of entry
parameter 1 does not evaluate (unsupported: StaticInitializer)'), as lane
fcfloat found installing its fc_float_gate cases. A half or float global now
answers its truth as 1 or 0 by the rule specialize's interface uses
(Values::present: bits not all zero is on, Metal's answer from job
m3-max-75714), and anything else is still the integer it holds.

Test: static_values over the float and half predicate shapes answers 1.5 1,
0.0 0, -0.0 1, NaN 1 and unsupplied 0. Validation-facing only; the
translator's output is unchanged, so no SEMANTICS_VERSION bump.
2026-11-26 17:23:00 -08:00
..