Vixen
02b45cc4
csharp
public sealed class SpirvBackend

Generates SPIR-V from the Raven IR — one module per entry point, because a Vulkan pipeline stage is created from one module with one main.

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

Remarks

Each unit carries both forms: the bytes a driver consumes, and an assembly listing rendered from the very same instructions, so what a golden file shows is what the binary holds.

Fields and properties (2)

  • public string Name
  • public string FileExtension

Methods (2)

  • public SpirvBackend(SpirvOptions? options = null)

    Generates SPIR-V from the Raven IR — one module per entry point, because a Vulkan pipeline stage is created from one module with one main.

  • public IReadOnlyList<GeneratedSource> Generate(IrModule irModule, DiagnosticBag diagnostics)

Used by (3)

  • CompiledLibraryTestsVixen.Raven.Tests
  • StreamTestsVixen.Raven.Tests
  • TargetBackendsVixen.Raven