mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
Glsl defines two overloads for smoothstep that accept `min` and `max` as scalars and the value as a vector, naga's IR is stricter and only allows operators with the same dimensions, so this inputs must be splatted.