BROADCAST_BUILTINS

Constant BROADCAST_BUILTINS 

Source
const BROADCAST_BUILTINS: &[&str];
Expand description

Built-in functions that require all arguments to share a type and don’t accept HLSL-style scalar↔vector broadcasts in WGSL. For each call to one of these, if any arg has a known vec type and another is a scalar, the scalar is wrapped in the matching vec constructor.