Vixen
dd8b0a81
csharp
public sealed class IrDiscardStatement

Ends the invocation without writing anything.

Read the guide page for this →

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