Vixen
02b45cc4
csharp
public sealed class IrEntryPoint

A stage entry point and the interface it presents.

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

Fields and properties (10)

  • public ShaderStage Stage
  • public IrFunction Function
  • public IReadOnlyList<IrStageIo> Inputs
  • public WorkgroupSize? WorkgroupSize

    The workgroup size, on a Compute stage and nowhere else.

  • public IReadOnlyList<IrStageIo> Outputs

    The stage's outputs, in location order. Empty when the entry point returns nothing.

  • public IrStageIo? Output

    The single stage output, or null when there is not exactly one.

  • public IReadOnlyList<IrStream> StreamInputs

    The shader's streams this stage reads, in the shader's declaration order.

  • public IReadOnlyList<IrStream> StreamOutputs

    The shader's streams this stage writes, in the shader's declaration order.

  • public IReadOnlyList<IrSharedVariable> SharedVariables

    The shader's groupshared variables this stage's reachable code touches, in the shader's declaration order.

  • public IReadOnlyList<bool> InputsRead

    Which of Inputs the stage's reachable code actually reads, in the same order. Everything, until lowering says otherwise.

Methods (2)

  • public IrEntryPoint(ShaderStage stage, IrFunction function, IReadOnlyList<IrStageIo> inputs, IReadOnlyList<IrStageIo> outputs, WorkgroupSize? workgroupSize = null)

    A stage entry point and the interface it presents.

  • public bool ReadsInput(int index)

    Whether the stage reads the input at .

Used by (20)

  • CodeGenTestBaseVixen.Raven.Tests
  • ComputeTestsVixen.Raven.Tests
  • GlslBackendVixen.Raven
  • GlslEmitterVixen.Raven
  • GroupSharedTestsVixen.Raven.Tests
  • ImportPrunerVixen.Raven
  • IrCapabilitiesVixen.Raven
  • IrPrinterVixen.Raven
  • IrShaderVixen.Raven
  • IrVerifierVixen.Raven
  • IrVerifierTestsVixen.Raven.Tests
  • LibraryTreeTestsVixen.Raven.Tests
  • LowererVixen.Raven
  • LoweringTestsVixen.Raven.Tests
  • ReflectionBuilderVixen.Raven
  • RenderTargetTestsVixen.Raven.Tests
  • SpirvBackendVixen.Raven
  • SpirvEmitterVixen.Raven
  • StreamPlanVixen.Raven
  • StreamTestsVixen.Raven.Tests