Vixen
02b45cc4
csharp
public sealed class IrConstructInstruction

Builds an aggregate from its parts: float3(x, y, z), a matrix from its columns, or a struct from its fields.

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

Remarks

Columns, matching what both backends emit and what m[i] reads back, so mat3(a, b, c, …) fills the column that m[0] returns. See docs/plan/07 § E.

Fields and properties (3)

  • public override IrValue Result
  • public IReadOnlyList<IrValue> Arguments
  • public override IEnumerable<IrValue> Operands

Methods (1)

  • public IrConstructInstruction(IrValue result, IrValue[] arguments)

    Builds an aggregate from its parts: float3(x, y, z), a matrix from its columns, or a struct from its fields.

Used by (7)

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