csharp
public sealed class IrDiscardStatementEnds the invocation without writing anything.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A terminator, and the only one that ends more than the function: SPIR-V spells it OpKill, which must be the last instruction in its block. GLSL's discard is an ordinary statement by comparison, and that difference is the GLSL emitter's to absorb.
Used by (8)
- BodyDecoderVixen.Raven
- FunctionVerifierVixen.Raven
- GlslEmitterVixen.Raven
- IrFunctionVixen.Raven
- IrPrinterVixen.Raven
- LibraryIrEncoderVixen.Raven
- LowererVixen.Raven
- SpirvEmitterVixen.Raven