spirv_std::arch

Function kill

Source
pub fn kill() -> !
Expand description

Fragment-shader discard. Equivalvent to discard() from GLSL

Ceases all further processing in any invocation that executes it: Only instructions these invocations executed before kill have observable side effects.