Vixen
dd8b0a81
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.

Read the guide page for this →

Fields and properties (12)

  • 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 ImplicitLodOutsideFragmentStage

    A Sample — whose level of detail is whatever the derivatives imply — reached from a stage that has no derivatives.

  • public static readonly DiagnosticDescriptor MalformedIr

Used by (4)

  • DiagnosticCoverageTestsVixen.Raven.Tests
  • IrVerifierVixen.Raven
  • LowererVixen.Raven
  • UnprovenDiagnosticTestsVixen.Raven.Tests