Vixen
02b45cc4
csharp
public sealed class IrSelectInstruction

Picks one of two values. Both operands are evaluated, matching SPIR-V's OpSelect; lowering only produces it where that is sound.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (5)

Methods (1)

  • public IrSelectInstruction(IrValue result, IrValue condition, IrValue whenTrue, IrValue whenFalse)

    Picks one of two values. Both operands are evaluated, matching SPIR-V's OpSelect; lowering only produces it where that is sound.

Used by (7)

  • BodyDecoderVixen.Raven
  • FunctionVerifierVixen.Raven
  • GlslEmitterVixen.Raven
  • IrPrinterVixen.Raven
  • LibraryIrEncoderVixen.Raven
  • LowererVixen.Raven
  • SpirvEmitterVixen.Raven