Skip to main content

single_op

Function single_op 

Source
pub fn single_op(def: &'static OpDef) -> Option<Generated>
Expand description

Generates the standalone single-op kernel for def (tier 0): all inputs are textures. Returns None for ops without one (blur, custom shaders).