narrower

Function narrower 

Source
fn narrower(a: WgslType, b: WgslType) -> WgslType
Expand description

Reverse of widen — pick the smaller vec when both args are vecs. Used by the broadcast pass so a max(vec3, vec4) call truncates the vec4 to vec3 (HLSL semantics), not the other way round.