spirv_std::arch

Function fwidth

Source
pub fn fwidth<F: Float>(component: F) -> F
Expand description

Returns the sum of the absolute values of ddx and ddy as a single operation.