naga::proc::overloads::utils

Function float_scalars

Source
pub fn float_scalars() -> impl Iterator<Item = Scalar> + Clone
Expand description

Produce all the floating-point ir::Scalars.

Note that F32 must appear before other sizes; this is how we represent conversion rank.