Function spirv_std::arch::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.