public static class LibraryDiagnosticsStable descriptors for the library phase — writing a .rvnlib and linking one into a compilation. The RVN5xxx range is reserved for it; RVN1xxx is syntax, RVN2xxx semantics, RVN3xxx lowering and RVN4xxx the backends.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A range of its own rather than an extension of lowering's, because these are the only diagnostics that can be produced with no source in the compilation at all: a reader rejecting an artefact has a file and a symbol name to name, and nothing else.
Fields and properties (8)
public static readonly DiagnosticDescriptor BindingNotExportableA body being exported reads a shader-level binding, which a consumer cannot supply.
public static readonly DiagnosticDescriptor EntryPointNotExportedA shader's entry point is not part of what a library exports.
public static readonly DiagnosticDescriptor StreamNotExportableA body being exported touches a stream, whose location belongs to the consuming shader.
public static readonly DiagnosticDescriptor GroupSharedNotExportableA body being exported touches groupshared storage, which belongs to the consuming dispatch's workgroups.
public static readonly DiagnosticDescriptor PermutationBakedInA library was compiled with a permutation key read, so its value is baked into the exported bodies.
public static readonly DiagnosticDescriptor ReferenceHiddenBySourceA referenced type has the same qualified name as one declared in source.
public static readonly DiagnosticDescriptor ReferenceTypeUnresolvedA library names a type that none of the supplied references declares.
public static readonly DiagnosticDescriptor DuplicateReferenceTwo references declare the same library name.
Used by (4)
- BuilderVixen.Raven
- CompilationVixen.Raven
- LibraryBuilderVixen.Raven
- MetadataLoaderVixen.Raven