Files
wgpu/naga/src
Jim Blandy a8a49993c2 [naga] Add TypeInner::scalar_for_conversions helper function.
Define a new helper function on `naga::ir::TypeInner`,
`scalar_for_conversions`, that returns the leaf scalar of a type as
relevant for WGSL-style automatic conversions. Specifically, this
means that, unlike `TypeInner::scalar`, arrays are considered to have
leaf scalars if their elements do.
2025-04-02 18:27:19 -04:00
..
2025-03-18 14:26:45 -04:00