plane_shuffle_up

Function plane_shuffle_up 

Source
pub fn plane_shuffle_up<E: CubePrimitive>(value: E, delta: u32) -> E
Expand description

Perform a shuffle up operation across the plane. Each unit reads the value from a unit with a lower lane ID (current_id - delta). Units with lane_id < delta will read from themselves (no change).

ยงExample

For delta=1: [a, b, c, d] -> [a, a, b, c]