spirv_std::image::sample_with

Function grad

Source
pub fn grad<T>(
    grad_x: T,
    grad_y: T,
) -> SampleParams<NoneTy, NoneTy, SomeTy<(T, T)>, NoneTy>
Expand description

Sets the ‘Grad’ image operand