spirv_std::arch

Function fwidth_coarse_vector

Source
pub fn fwidth_coarse_vector<F: Float, VECTOR: Vector<F, LENGTH>, const LENGTH: usize>(
    component: VECTOR,
) -> VECTOR
Expand description

Returns the sum of the absolute values of ddx_coarse and ddy_coarse as a single operation.