Vixen
02b45cc4
csharp
public static class LoweringDiagnostics

Stable descriptors for lowering and IR verification. The RVN3xxx range is reserved for this phase; RVN1xxx is syntax and RVN2xxx semantics.

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

Fields and properties (11)

  • public static readonly DiagnosticDescriptor TypeNotRepresentable

    The semantic model accepted the type, but it has no GPU representation — string, a tuple, a nullable, a lambda.

  • public static readonly DiagnosticDescriptor ConstructNotSupported

    A construct the binder understands but lowering does not implement yet.

  • public static readonly DiagnosticDescriptor NotAddressable
  • public static readonly DiagnosticDescriptor MissingBody
  • public static readonly DiagnosticDescriptor StreamNotConsumed

    A stream written by a stage nothing downstream reads from.

  • public static readonly DiagnosticDescriptor StreamInComputeStage

    A stream used by a compute stage, which has no interstage interface at all.

  • public static readonly DiagnosticDescriptor PushConstantsOverGuaranteedSize

    A push-constant block larger than every Vulkan implementation is required to offer.

  • public static readonly DiagnosticDescriptor SharedBindingsDisagree

    Two [Shared] declarations of one name that are not the same resource.

  • public static readonly DiagnosticDescriptor DiscardOutsideFragmentStage

    A discard reachable from a stage that has no fragment to throw away.

  • public static readonly DiagnosticDescriptor WorkgroupStorageOutsideCompute

    Workgroup storage — a groupshared variable or a barrier — reached from a stage that has no workgroups.

  • public static readonly DiagnosticDescriptor MalformedIr

Used by (2)

  • IrVerifierVixen.Raven
  • LowererVixen.Raven