Ahjo.Vulkan.Slang 0.19.0

dotnet add package Ahjo.Vulkan.Slang --version 0.19.0
                    
NuGet\Install-Package Ahjo.Vulkan.Slang -Version 0.19.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ahjo.Vulkan.Slang" Version="0.19.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ahjo.Vulkan.Slang" Version="0.19.0" />
                    
Directory.Packages.props
<PackageReference Include="Ahjo.Vulkan.Slang" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ahjo.Vulkan.Slang --version 0.19.0
                    
#r "nuget: Ahjo.Vulkan.Slang, 0.19.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ahjo.Vulkan.Slang@0.19.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ahjo.Vulkan.Slang&version=0.19.0
                    
Install as a Cake Addin
#tool nuget:?package=Ahjo.Vulkan.Slang&version=0.19.0
                    
Install as a Cake Tool

Ahjo.Vulkan.Slang

Compile Slang/HLSL shader source to SPIR-V at run time, with a pinned, checksum-verified compiler and the compiler's own diagnostics surfaced as exceptions. The words come back as a ReadOnlySpan<uint> that Device.CreateShaderModule already takes.

using Ahjo.Vulkan;
using Ahjo.Vulkan.Slang;

using var compiler = SlangCompiler.Create();
using var session  = compiler.CreateSession(default);   // SPIR-V 1.5, Default optimization, Slang 2026, row-major

using var program = session.Compile(new SlangCompileRequest
{
    Path = "shaders/triangle.slang",
    // EntryPoints = null  ->  every [shader("…")] entry point, in declaration order
});

for (int i = 0; i < program.EntryPointCount; i++)
{
    SlangEntryPointInfo info = program.EntryPoint(i);
    using ShaderModule module = device.CreateShaderModule(program.Spirv(i));
    // info.Name, info.Stage  ->  the stage flags a pipeline builder wants
}

Ahjo.Vulkan itself takes no dependency on this package, so a consumer shipping precompiled SPIR-V never pulls ~31 MB of compiler.

Session defaults

default(SlangSessionDescription), new() and a description that states these values explicitly all compile the same way:

Member Unset To change it
Optimization SlangOptimizationLevel.Default SlangOptimizationLevel.None for unoptimized output; High / Maximal for more
LanguageVersion SlangLanguageStandard.Slang2026 SlangLanguageStandard.Legacy to compile existing shaders as before; Slang2025
MatrixLayout row-major in Slang's naming (SPIR-V ColMajor) SLANG_MATRIX_LAYOUT_COLUMN_MAJOR, from Ahjo.Vulkan.Slang.Native

Each setter accepts only declared values and throws ArgumentOutOfRangeException otherwise. MatrixLayout applies to matrices with no row_major / column_major qualifier; a qualifier overrides the session.

Language version

A #language slang 2018 or #language slang 2026 line in a module overrides the session for that module, in both directions. A #language line inside an #included file applies to the including module.

From 2025 on, declarations are visible to importers only when they are public. There are two ways to take the default and migrate a module at a time:

  • add #language slang 2018 to every imported module that is not migrated yet, then remove the line as you add public to it; or
  • set LanguageVersion = SlangLanguageStandard.Legacy and mark each migrated file #language slang 2026.

Add public to types before the members and functions that use them: a public member of a non-public struct (E30601) and a public function with a non-public parameter type (E30604) are errors even under legacy.

What 2026 rejects, with the legacy warning that flags it early:

Construct Legacy 2025 2026
non-public declaration used across modules ok E30600 E30600
struct inherits struct warns E30816 warns E30811
(a, b) as a comma expression warns E41024 warns E30019
4-component vector from (vector2, scalar) warns E31200 warns E31207
volatile ok warns E31231 E31230
(Struct)0 ok ok warns E30087

Upstream's guide also says a module declaration is required from 2025 and that dynamic dispatch needs dyn in 2026. Measured on v2026.22, neither was enforced: a missing module declaration and dispatch without dyn still compiled.

Diagnostics are not optional

Every call that can produce compiler text gets its blob read before anything else, and there is no code path that returns an empty SPIR-V blob on failure — that is the whole point.

  • A failure throws SlangCompilationException. Diagnostics carries Slang's text verbatim; Message is its first line.
  • A success that produced text anyway — warnings — lands in SlangProgram.Warnings (and SlangModule.Warnings for a module you loaded yourself).
error[E30015]: undefined identifier
 --> bad.slang:1:21
  |
1 | float4 f() { return notAThing; }
  |                     ^^^^^^^^^ undefined identifier 'notAThing'.

Note that loadModuleFromSourceString signals failure by returning null rather than by a result code, so a result-code-only check would sail past a broken compile. This wrapper checks both.

Generated modules this package refuses

On v2026.22, Slang reports success for some output that is invalid. SlangProgram.Spirv generates the entry point you ask for, runs two checks over the module and throws SlangCompilationException when one fails. They are two checks, not SPIR-V validation: each recognises one measured instruction. Nothing is kept for a refused or failed entry point, so a repeated call generates it again and throws the same way. It does not stop the others being handed out.

Refused Known cause What to do instead
a module with an OpBitcast that yields an opaque type or a logical pointer the only type conformance in the program names an implementation that holds a texture, sampler, buffer or acceleration structure see Resource-carrying implementations
a module with an OpCopyLogical between types that do not logically match an interface-typed field read from an element of an RWStructuredBuffer or RasterizerOrderedStructuredBuffer use a StructuredBuffer, or a read/write buffer of the interface type itself
the same refusal an interface-typed field in a struct nested inside a ConstantBuffer or ParameterBlock, with or without [anyValueSize(N)] declare the field directly in the block's element type, or read it from a StructuredBuffer
the same refusal a copy of a buffer array sized by a specialization constant size the array with a compile-time constant

Not detected: layouts that differ between entry points. Without [anyValueSize(N)] each entry point sizes an interface value itself, from the types that reach it, so two entry points can read one buffer two ways. Both modules are handed out and nothing reports the difference (#286). Declare the attribute; see Interface values in buffers.

Known to crash or hang the compiler, all on v2026.22:

  • a zero-argument abort() crashes (shader-slang/slang#13166);
  • an entry-point uniform array of an interface type segfaults;
  • a program that writes an interface field through a pointer never returns on linux-x64;
  • reading an element of an array of an interface (IFoo two[2]) held in an element of a read-only StructuredBuffer crashes Spirv;
  • an array sized by a specialization constant in a buffer: for one in a structured buffer, Reflection throws on win-x64 and ends the process on linux-x64, and some such shapes fail the same two ways in Link (#288);
  • a plain descriptor array sized by a specialization constant ([vk::constant_id(0)] const int N = 4; Texture2D a[N];): Reflection throws SEHException on win-x64; linux-x64 is unverified (#288).

A crash or a hang in code generation is reached by the Spirv call for the entry point concerned. SlangStageAttribution.PerEntryPointUsage reflection generates every entry point, so it reaches any of them.

Known to produce invalid SPIR-V that is handed out, on v2026.22:

  • a block holding an interface field, copied from a ParameterBlock into a local and then modified — likely to turn up in material code;
  • a groupshared struct with an interface field;
  • an interface field written through a pointer (win-x64; this is the shape that hangs on linux-x64);
  • a resource-carrying implementation read from an interface field of an RWStructuredBuffer;
  • not related to interfaces: a write through a pointer to a concrete struct, which spirv-val --target-env vulkan1.2 rejects on a layout rule;
  • a read of a buffer array sized by a specialization constant that copies no struct of arrays logically: an element read, or a load of the whole struct;
  • two ParameterBlocks bound to one explicit set.

While debugging, set the environment variable SLANG_RUN_SPIRV_VALIDATION=1 to have Slang validate its own output, or run spirv-val over the words. Whether this package should validate what it hands out is #284.

SlangStageAttribution.PerEntryPointUsage reflection generates code too, and applies none of these checks, because it returns no code.

Composing a program from several modules

A material system's shader is not one file. Load each module under its own name and the session's registry makes import work with no file system present:

using var common   = session.LoadModuleFromSource("common",   "common.slang",   commonSource);
using var material = session.LoadModuleFromSource("material", "material.slang", materialSource);
// material's source can `import common;`

using var entryPoint = material.FindEntryPoint("fragmentMain", ShaderStages.Fragment);

Under the default language version, whatever an importer uses must be declared public, in source-string modules too — see "Session defaults" above.

Two things worth knowing about FindEntryPoint:

  • Slang does not validate the stage you ask for against the function's [shader("…")] attribute. Measured on v2026.14.1: asking for a fragment entry point as ShaderStages.Vertex returns success and hands back the fragment entry point labelled Vertex. This wrapper reads the declared stage back and throws SlangCompilationException on a disagreement. A function with no attribute has no declared stage, so the stage you pass is what finds it and what it reports — that is the case the parameter exists for.
  • An unmapped ShaderStages value (a mask like AllGraphics, or a ray-tracing stage the wrapper has no member for) throws NotSupportedException rather than degrading to "no stage".

The component list is ordered, and the order is the layout

The order components are added is the order Slang assigns descriptor bindings, descriptor spaces and entry-point indices. Adding the same components in a different order produces a different, equally valid, incompatible layout. That is a measurement: the same five components composed as [common, geometry, material, vs, fs] and as [material, common, geometry, fs, vs] give every parameter different set and binding numbers and swap the entry-point indices, and the emitted SPIR-V is decorated to match whichever one you asked for. Composing only the entry points also links — an entry point carries its module as a requirement — and produces a third assignment again. So the list is explicit:

using var program = session.CreateProgram()
    .Add(common)            // modules first, in the order you want their
    .Add(geometry)          // parameters laid out
    .Add(material)
    .Add(vertexEntryPoint)  // entry-point order is Spirv(i) / EntryPoint(i) order
    .Add(fragmentEntryPoint)
    .Link();

Link() may be called more than once and returns independent programs; the builder keeps no linked state.

Specializing an interface-typed ParameterBlock

A ParameterBlock<ISomeInterface> cannot generate code until at least one implementation is in the linkage. Name them on the request:

using var program = session.Compile(new SlangCompileRequest
{
    Source           = surfaceSource,
    ModuleName       = "surface",
    TypeConformances = [new SlangTypeConformance("Glossy", "ISurface")],
});

For a program composed from several modules, the same declaration lives on the builder:

using var program = session.CreateProgram()
    .Add(module)
    .Add(entryPoint)
    .AddTypeConformance("Glossy", "ISurface")
    .Link();

Type names are resolved when the program is linked, not when the conformance is declared — resolving a name needs a composite to resolve it against — so an unknown type name throws ArgumentException from Link() (or from Compile, which composes through the builder).

The refusal lands at Spirv(...), not at Link(), and that is deliberate. Without a conformance this shape links cleanly: EntryPointCount is right, EntryPoint(0) reports the right name and stage, and reflection reports the whole binding surface. Only code generation fails, with error[E50100]: no type conformances found — and this package rewrites that exception's Message to name SlangCompileRequest.TypeConformances and AddTypeConformance (Diagnostics stays Slang's text, verbatim). Refusing at Link() instead would throw away a reflection that is correct and useful, on the strength of a predicate Slang does not expose: SlangProgram.SpecializationParameterCount reports 1 for this shape both before and after the conformance that makes it compile, so it is a report, not a test for "will this generate code".

There is deliberately no Specialize method. IComponentType::specialize on a component whose global scope holds an interface-typed ParameterBlock segfaults inside Slang's own type-legalization pass: specialize and link both return success and the crash lands in the subsequent code-generation call. Reproduced 3/3 on v2026.14.1. On v2026.22, AddTypeConformance is the route that works for that shape when the implementations hold plain data (see Resource-carrying implementations), and an API whose failure mode is a process crash cannot ship behind a try.

Resource-carrying implementations

An implementation that holds a resource — a texture, a sampler, a buffer or an acceleration structure — is not supported behind an interface-typed value. Measured on v2026.22, what refuses it depends on what is conformed:

Conformances What happens
one, to the resource-carrying type Link() succeeds and reflection answers; Spirv(...) throws SlangCompilationException. Slang reports success here and generates an invalid module (an OpBitcast to an opaque type or a logical pointer), so this refusal is the package's own
two or more, any of which holds a resource Spirv(...) throws with Slang's error[E41014]: type cannot be packed for dynamic dispatch

Some field kinds are diagnosed by Slang even with one conformance (E41014, E56004 or E99997). Resource fields that the shader never reads can be removed by the optimizer, in which case the single-conformance module is valid and is returned.

Use the concrete type when the shader has one implementation: ParameterBlock<Glossy> gSurface;. Each resource is then an ordinary binding.

Or select the type at link time. The shader is written against a type it does not define, and the module you compose supplies it:

// surfaceContract.slang
module surfaceContract;

public interface ISurface { float4 shade(float3 normal, float2 uv); };

// surfaceConsumer.slang
module surfaceConsumer;

import surfaceContract;

extern struct Surface : ISurface;
ParameterBlock<Surface> gSurface;
// ... and the entry point that calls gSurface.shade(normal, uv)

// surfaceImplementation.slang
module surfaceImplementation;

import surfaceContract;

public struct Glossy : ISurface
{
    public float4 tint;
    public Texture2D albedo;
    public SamplerState samp;
    public float4 shade(float3 normal, float2 uv) { return tint * albedo.Sample(samp, uv); }
};

export public struct Surface : ISurface = Glossy;
using var contract       = session.LoadModuleFromSource("surfaceContract", "surfaceContract.slang", contractSource);
using var consumer       = session.LoadModuleFromSource("surfaceConsumer", "surfaceConsumer.slang", consumerSource);
using var implementation = session.LoadModuleFromSource("surfaceImplementation", "surfaceImplementation.slang", implementationSource);
using var fragment       = consumer.DefinedEntryPoint(0);

using var program = session.CreateProgram()
    .Add(contract)
    .Add(consumer)
    .Add(implementation)   // swap this module to swap the type
    .Add(fragment)
    .Link();               // no type conformance

Or keep the implementations plain data and have them hold uint indices into global arrays (Texture2D gTextures[];). Those arrays reflect as Unbounded and need MapBindings(capacity) — see Bindless arrays.

One placement does not work on v2026.22 and is not detected: a resource-carrying implementation reached through an interface-typed field of an RWStructuredBuffer element produces invalid SPIR-V that Spirv(...) hands out.

To find the problem in the shader instead of at Spirv(...), declare the interface dyn interface: Slang then refuses the opaque member when the module loads, with error[E33080]. [anyValueSize(N)] on the interface does the same. While debugging, setting the environment variable SLANG_RUN_SPIRV_VALIDATION=1 makes Slang validate its own output.

Whatever the implementations hold, the buffer behind an interface-typed value needs [anyValueSize(N)] on the interface before reflection will report its layout: see Interface values in buffers.

Reflection-driven layouts

A linked program knows its own binding surface, and SlangReflection hands it back as Slang* types that describe what the shader declared. SlangVulkanMapping converts them to the description types Ahjo.Vulkan takes, with one extension method per shape.

SlangReflection reflection = program.Reflection;

for (int i = 0; i < reflection.DescriptorSetCount; i++)
{
    uint set = reflection.SetIndex(i);            // the Vulkan set number
    using var layout = device.CreateDescriptorSetLayout(
        new DescriptorSetLayoutDescription { Bindings = reflection.Bindings(i).MapBindings() });
}

using var pipelineLayout = device.CreatePipelineLayout(new PipelineLayoutDescription
{
    SetLayouts         = layouts,
    PushConstantRanges = reflection.PushConstantRanges.MapPushConstantRanges(),
});

PushConstantRanges throws NotSupportedException for a program with more than one push-constant block, or with a push layout reflection cannot report (see What reflection refuses rather than guesses).

Push the mapped size. SlangPushConstantRange.Size and SlangBufferLayout.Size are the sizes as declared, and may not be a multiple of 4. MapPushConstantRanges rounds Size up to one, as VkPushConstantRange.size requires: that is the byte count to give vkCmdPushConstants, with the bytes past the declared size zeroed. CommandRecorder.PushConstants<T> pushes sizeof(T) bytes, so pad T to the mapped Size.

Descriptor handles are not reflected. A program that uses DescriptorHandle binds a set that Slang chooses. Bindings, DescriptorSetCount and SetLayoutSlotCount do not include it, so a pipeline layout built from reflection is missing it; this package does not report that set (#287).

The indirection is deliberate. Reflection reports what the shader declared; VkDescriptorType is one interpretation of that, and a binding Slang reports as a mutable texture is a STORAGE_IMAGE only because this mapping says so. Keeping the two apart means a caller who disagrees can read SlangDescriptorBinding and build the DescriptorBinding themselves, rather than being handed a decision already baked in. MapBindingType and MapScalarFormat are public for the same reason.

Reflection is only ever taken from a linked program, and that is enforced by the type system rather than by documentation. Both alternatives are silently wrong rather than loudly wrong: a module reflected on its own reports different sets and binding numbers than the same module inside a composite, and an unspecialized generic parameter block reports a descriptor set with zero bindings where the compiled shader has five.

ParameterBlock<T> is fully supported and is the point: each block is its own descriptor space, nesting accumulates, and a block whose element carries ordinary data gets the implicit uniform buffer Slang puts at binding 0 of its space but never lists as a descriptor range.

Three names, and which one to key on

Reflection reports a name for each of three different things, and they are not interchangeable:

what where what it is
SlangDescriptorBinding.Name every binding the declared parameter name — gAlbedo, gMaterial. This is what a material system keys on instead of hard-coding slot numbers.
SlangPushConstantRange.Name the push-constant range the [[vk::push_constant]] block parameter's name. Vulkan never sees it; it is how you tell which block a layout describes.
SlangVertexAttributeDescription.SemanticName + SemanticIndex vertex inputs what a vertex-buffer binder matches on. Name on the same type is the field's name in the shader struct and has nothing to do with your mesh format.

Two things about those to get right up front. A resource declared inside a ParameterBlock or a ConstantBuffer<T> is named by its field — reflection says maps, the emitted SPIR-V says gWith.maps — and a block's implicit uniform buffer at binding 0 has no name of its own, so it takes the block parameter's. And Slang splits TEXCOORD0 into SemanticName = "TEXCOORD" and SemanticIndex = 0, so a binder comparing against the literal "TEXCOORD0" never matches.

Bindings also carry ImageFormat — Slang's own SlangImageFormat, for a [[vk::image_format("rgba8")]] RWTexture2D<float4>, and SLANG_IMAGE_FORMAT_unknown for everything else. There is deliberately no VkFormat mapping: no Vulkan call at layout-creation time takes one, and the value matters when you create the VkImageView you write the binding with.

_unknown is a device requirement, not a benign default. A storage image the shader reads or writes without a declared format needs the capability for it. Below Vulkan 1.3 without VK_KHR_format_feature_flags2, an Unknown-format storage image must be NonReadable / NonWritable unless shaderStorageImageReadWithoutFormat / shaderStorageImageWriteWithoutFormat is enabled (VUID-RuntimeSpirv-apiVersion-07955 / -07954). From 1.3 on the check moves to draw/dispatch time and lands on the bound view's format features — VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT / ..._WRITE_WITHOUT_FORMAT_BIT (VUID-vkCmdDispatch-OpTypeImage-07028 / -07027). Plain RWTexture2D<float4> gPlain; is exactly this case. Conversely, a non-unknown value obliges you the other way: the VkImageView bound there must have a matching format.

SlangEntryPointInfo carries the compute thread-group size — ThreadGroupSizeX/Y/Z, 1, 1, 1 for every non-compute stage — which is what a dispatch needs to turn a work item count into a group count.

SlangEntryPointInfo.Name is not VkPipelineShaderStageCreateInfo.pName. Slang names every emitted entry point main regardless of the stage or the Slang function's name, while reflection reports the Slang name (vertexMain). Passing the reflected name as pName produces VUID-VkPipelineShaderStageCreateInfo-pName-00707 and a non-null handle. spReflectionEntryPoint_getNameOverride does not help — measured on v2026.14.1, it returns exactly what getName returns — which is why no member here carries it.

Two declarations on one binding

Two declarations can name one (set, binding): the same [[vk::binding(0, 0)]] uniform ConstantBuffer<Camera> on a vertex and a fragment entry point, or bindless arrays laid over one slot. Slang reports nothing about it.

Reflection merges declarations that match: one binding type, one count (not an unknown one) and the same buffer, meaning neither has a buffer layout or both have the same element type, laid out the same way. The merged entry has every stage of theirs, and keeps the storage image format only when they agree. Its name, and its layout's name, are the first declaration's: the global scope comes first (its implicit buffer, its descriptors in Slang's range order, which was declaration order for ordinary globals, then its blocks), then the entry points in the order they were composed. The other names are not reported. A zero-length array is not a descriptor, so it neither merges nor conflicts.

Bindings can still list a slot twice, for declarations that differ: bindless buffers of different element types, a StructuredBuffer with an RWStructuredBuffer, arrays with different counts, or compute kernels that each declare their own buffer at one binding. When they map to one VkDescriptorType, MapBindings returns one binding for the slot, with the largest count and every stage:

  • if any of them has no count, the single-argument overload refuses the slot, and the capacity overload asks once, about the first such declaration in the span. The count is the larger of the answer and the largest fixed count, so size a descriptor pool from the returned Count, not from your answer. A resolver keyed on Name answers for that first declaration only;
  • BindingFlags stays None. If you add VariableDescriptorCount, do not allocate fewer descriptors than a fixed array sharing the binding declares.

Two descriptor types on one slot are refused with NotSupportedException before capacity is asked anything: sampled with storage image, a uniform buffer with a texture, or a texture with a sampler (no combined image sampler is substituted, since neither declaration has that type). Give them different [[vk::binding]]s, or build that set's layout by hand from Bindings. MapBinding on single entries, and layouts you build yourself, are not checked.

TryGetBufferLayout throws NotSupportedException at a slot whose declarations do not all have the same buffer, even where MapBindings maps the binding. Structured buffer data layouts are not told apart: reflection ignores them (#282).

Bindless arrays: reflection reports, you supply the capacity

Texture2D gTextures[]; has no descriptor count — the shader does not state one, so neither does reflection. SlangDescriptorBinding.Count is therefore an option (SlangDescriptorCount), not a uint:

foreach (var binding in reflection.Bindings(i))
{
    if (binding.Count.TryGetValue(out uint count))    // Fixed
        …
    else if (binding.Count.IsUnbounded)               // SLANG_UNBOUNDED_SIZE
        …
}

MapBinding() refuses such a binding with NotSupportedException, because a VkDescriptorSetLayoutBinding.descriptorCount has to come from somewhere and reflection cannot pick your heap's capacity. Supply it:

var bindings = reflection.Bindings(i).MapBindings(static binding => binding.Slot switch
{
    0 => 4096u,        // gTextures
    1 => 32u,          // gSamplers
    _ => 1024u,
});

The resolver is asked only about bindings reflection could not size, so it never has to second-guess a count the shader did state. MapBinding(binding, descriptorCount) is the single-binding form, and it throws ArgumentException if reflection did report a count — overriding what the shader declares is not something an overload should do quietly.

That array is not yet a layout a driver will accept. A capacity like 4096 with BindingFlags = None is measured against the base per-stage descriptor limits, not the update-after-bind ones — and the base limits are small: the Vulkan-guaranteed minimum for maxPerStageDescriptorSampledImages is 16. The six-figure numbers usually quoted for bindless are maxPerStageDescriptorUpdateAfterBindSampledImages, and a binding only gets measured against those once it is flagged UpdateAfterBind and its layout is created with UpdateAfterBindPool = true. Miss that and vkCreatePipelineLayout rejects the layout.

So a bindless heap needs three things this package cannot do for you.

1. Device features. Slang emits OpCapability RuntimeDescriptorArray and OpTypeRuntimeArray for Texture2D gTextures[], and a declared capability whose requirement is not met is rejected when the module is created (VUID-VkShaderModuleCreateInfo-pCode-08740) — so runtimeDescriptorArray has to be on. These are Vulkan 1.2 core features, which the configurer hands out by ref:

using var device = gpu.CreateDevice(new DeviceDescription
{
    Queues = [new QueueRequest(family, count: 1, priority: 1.0f)],

    ConfigureFeatures = static (
        ref ChainBuilder<VkDeviceCreateInfo> _,
        ref VkPhysicalDeviceFeatures2        _,
        ref VkPhysicalDeviceVulkan12Features f12,
        ref VkPhysicalDeviceVulkan13Features _,
        ref VkPhysicalDeviceVulkan14Features _) =>
    {
        f12.runtimeDescriptorArray                       = 1;
        f12.descriptorBindingPartiallyBound              = 1;

        // Update-after-bind is enabled per descriptor TYPE, not once. The
        // three unbounded arrays above are a SAMPLED_IMAGE, a SAMPLER and —
        // because StructuredBuffer<float4> maps to it — a STORAGE_BUFFER, so
        // flagging all three UpdateAfterBind needs both of these bits.
        f12.descriptorBindingSampledImageUpdateAfterBind  = 1;
        f12.descriptorBindingStorageBufferUpdateAfterBind = 1;

        // NOT needed by the fixture above, and enabling what you do not need is
        // its own failure — see the VK_ERROR_FEATURE_NOT_PRESENT note below.
        // `gTextures[gPush.index]` is dynamically uniform: a push constant is
        // the same value for every invocation in the draw, so Slang emits no
        // ShaderNonUniform capability and no `OpDecorate … NonUniform` for it.
        // Enable the matching bit only when the index comes from a
        // per-invocation source — an interpolated varying, a buffer read, a
        // material ID — *and* the shader wraps it in
        // `NonUniformResourceIndex(...)`, which is what makes Slang emit the
        // capability and the decoration:
        //
        // f12.shaderSampledImageArrayNonUniformIndexing = 1;
    },
});

The per-type point is the generalizable one. Miss descriptorBindingStorageBufferUpdateAfterBind and vkCreateDescriptorSetLayout rejects the very layout step 2 builds — VUID-VkDescriptorSetLayoutBindingFlagsCreateInfo-descriptorBindingStorageBufferUpdateAfterBind-03008. Whichever descriptor types your heap holds, enable the matching descriptorBinding<Type>UpdateAfterBind for each of them.

Check the bits first with vkGetPhysicalDeviceFeatures2; they are optional, and vkCreateDevice fails with VK_ERROR_FEATURE_NOT_PRESENT on a device that does not advertise one you asked for.

2. Binding flags and an update-after-bind layout. The mapper leaves BindingFlags at None, so stamp them on the heap bindings yourself. The mapped array has one binding per slot and omits zero-length arrays, so an index into it is not an index into Bindings(i): match the two on Slot.

var heapSlots = new HashSet<uint>();
foreach (var binding in reflection.Bindings(i))
{
    if (binding.Count.IsUnbounded)
        heapSlots.Add(binding.Slot);
}

for (int b = 0; b < bindings.Length; b++)
{
    if (heapSlots.Contains(bindings[b].Slot))
        bindings[b] = bindings[b] with
        {
            BindingFlags = DescriptorBindingFlags.UpdateAfterBind
                         | DescriptorBindingFlags.PartiallyBound,
        };
}

using var layout = device.CreateDescriptorSetLayout(new DescriptorSetLayoutDescription
{
    Bindings            = bindings,
    UpdateAfterBindPool = true,      // required by the UpdateAfterBind flag above
});

PartiallyBound is not decoration either: without it, every one of those 4096 descriptors must have been written before a draw that could index them, and core validation reports the first one that was not. Allocate the set from a pool created with updateAfterBind: true to match (new DescriptorSetPool(device, maxSets, sizes, updateAfterBind: true)).

3. VariableDescriptorCount, if you want the count to shrink per set. Vulkan allows VariableDescriptorCount on at most one binding per set — the one with the highest binding number — and a set with three unbounded arrays is the shape this exists for. Add VariableDescriptorCount / PartiallyBound to the binding whose count actually varies.

This one needs more than the flag. It additionally requires descriptorBindingVariableDescriptorCount enabled on the device — and without it the problem lands at layout creation, before any pool is involved: the flag violates VUID-VkDescriptorSetLayoutBindingFlagsCreateInfo-descriptorBindingVariableDescriptorCount-03014 at vkCreateDescriptorSetLayout. Expect the validation layer to report it, not the driver to refuse — a VUID violation is undefined behaviour, and hardware drivers have been measured returning VK_SUCCESS here.

The count itself is stated at allocation time, and the pool has an overload for it:

DescriptorSet set = pool.Acquire(layout.Handle, variableDescriptorCount: 1024);

That count says how many descriptors this set holds in that binding. It must not exceed the layout's declared Count (VUID-VkDescriptorSetAllocateInfo-pSetLayouts-09380), and it is the number the driver checks every write against — not the declared maximum.

Allocating such a layout through the one-argument pool.Acquire(layout.Handle) gives that binding an effective count of zero, and every write to it fails. The wrapper cannot warn you: Vulkan exposes no way to read a layout's binding flags back from the handle, so Acquire cannot tell a variable-count layout from an ordinary one. VK_LAYER_KHRONOS_validation does report it, and its message asks the question directly.

There is one thing reflection still refuses outright, and it is not the count: a descriptor range whose index offset, or a scope whose space offset, is a sentinel throws NotSupportedException from reflection. A binding with no binding number and a scope with no set number leave no layout to report at all, so there is nothing to hand back.

A zero-length array is a binding that isn't

Texture2D gTex[0]; is the other end of the same axis, and it compiles. Reflection reports it — Slang states a count and the count is 0 — but Slang also reserves the binding number for it and emits no SPIR-V variable, and no shader code can index it (error[E30029] statically, error[E99997] dynamically). So it is not a Vulkan descriptor binding, and it is reachable without anyone typing [0]: Texture2D gMaps[NUM_MAPS]; with NUM_MAPS = 0 is the same shape.

MapBindings() omits such a binding, leaving a hole at the reserved number — which Vulkan permits, since VUID-VkDescriptorSetLayoutCreateInfo-binding-00279 requires binding numbers to be distinct, not contiguous. The result is therefore not positionally aligned with the span it came from: correlate the two on Slot, never on index. MapBinding() has no return value meaning "nothing", so it refuses with NotSupportedException and names the batch call; MapBinding(binding, count) refuses too, because the shader did state a count. The three agree on purpose — a layout that omits the binding and one that emits it with descriptorCount = 0 are both legal and are not compatible with each other at vkCmdBindDescriptorSets.

If you build DescriptorBindings yourself, name the case rather than rediscovering it:

foreach (var binding in reflection.Bindings(i))
{
    if (binding.Count.IsZero)                         // Texture2D gTex[0]
        continue;                                     // reserved slot, no descriptor
    …
}

Declarations that differ but share a slot are separate entries in that span (see Two declarations on one binding), so a hand-built layout must emit one DescriptorBinding per slot; hand-built layouts are not checked.

A set whose bindings are all zero-length arrays wants a descriptor set layout with zero bindings, so both MapBindings overloads return an empty array for it and device.CreateDescriptorSetLayout(default) builds exactly that layout (issue #191). Do not give the set a stand-in binding to avoid the empty case — that puts a descriptor in the layout the emitted SPIR-V never declared, which is the mismatch rule 11 exists to prevent.

What is inside a buffer

A binding says where a resource lives. TryGetBufferLayout says what is in it — the member names, byte offsets and sizes Slang baked into the SPIR-V it emitted for this program's target.

if (reflection.TryGetBufferLayout(set: 2, slot: 0, out SlangBufferLayout? material))
{
    Console.WriteLine($"{material.Name} is {material.Size} bytes");

    if (material.TryGetMember("Params.UvScale", out SlangBufferMember uvScale))
        WriteFloat2(bytes[(int)uvScale.Offset..], scale);
}

// Push constants are not descriptor bindings and have their own accessor.
if (reflection.TryGetPushConstantLayout(out SlangBufferLayout? push))
    …

Every buffer-shaped binding has one: a standalone ConstantBuffer<T>, the global scope's implicit constant buffer, a ParameterBlock's implicit uniform buffer, and a structured buffer's element. A texture or a sampler reports false.

Four rules the API will otherwise surprise you with:

  1. Members is a flattened pre-order walk with dotted paths, and struct nodes are kept. Params appears as its own entry with its own offset and size, immediately followed by Params.BaseColor, Params.Roughness, … Filter Kind != SLANG_TYPE_KIND_STRUCT for the leaves.
  2. The list is losslessly a tree. A member's parent is Members[ParentIndex] (-1 at the root), and its children are the entries whose ParentIndex is its own index — contiguous and in declaration order, because the walk is pre-order. So the tree costs O(n) and no string parsing:
    var children = new List<int>[layout.Members.Length];
    for (int i = 0; i < layout.Members.Length; i++) children[i] = [];
    for (int i = 0; i < layout.Members.Length; i++)
        if (layout.Members[i].ParentIndex >= 0) children[layout.Members[i].ParentIndex].Add(i);
    
    That is why there is one representation here and not two.
  3. Arrays are leaves. An array member reports ElementCount and ElementStride; element i is at Offset + i * ElementStride. Paths like Lights[0].Color are not generated and an array-of-struct element's own members are not described — use ToJson() until the follow-up lands.
  4. Resources are not members. A field with zero uniform size — a Texture2D, a SamplerState — occupies no bytes and is omitted rather than listed at offset 0 with size 0.

Offset and Size alone are not enough to fill a buffer by hand. Stride is the padded footprint (a float3 is 12 bytes of data in 16), Alignment is what you check your own struct against, and MatrixLayout decides whether a float4x4 is written row- or column-major — the difference between a correct transform and a transposed one, with no other symptom. It comes from the member's own qualifier, or else from SlangSessionDescription.MatrixLayout. MatrixStride is the distance between rows or between columns according to MatrixLayout. Slang exposes no getter for it, so it is derived (from the row vector's layout for row-major, from Size / ColumnCount for column-major) and it is 0 rather than a guess when that derivation yields nothing.

ToJson() is the escape hatch, for diagnostics. It is Slang's own dump of the whole program layout, lazily produced and cached. The schema is Slang's, is not stable across versions, and is not something this package parses or promises — use the typed surface for anything a program depends on, and this for what the typed surface does not cover yet.

Interface values in buffers

A buffer can hold a value of an interface type: ParameterBlock<ISurface>, a StructuredBuffer<ISurface>, or an ISurface field or array in a struct. TryGetBufferLayout answers for such a buffer only when all of these hold, and throws NotSupportedException, naming the one that failed, otherwise:

  1. every such interface declares [anyValueSize(N)], with N a multiple of 16 and at least 16. The attribute must be on the interface that types the value: one on a base interface does not count;
  2. every member on the path to the value starts at a multiple of 16 within its struct;
  3. every nested struct that holds one has a size that is a multiple of 16;
  4. every array whose element holds one has a stride that is a multiple of 16;
  5. the buffer element's size is a multiple of 8.

TryGetPushConstantLayout and PushConstantRanges apply the first four to a push-constant block. The binding itself is reported either way.

[anyValueSize(48)]                       // N: at least the largest implementation
interface ISurface
{
    float4 shade(float3 normal, float2 uv);
};

An implementation larger than N fails with error[E41019].

Why. On v2026.22, Slang's reflection describes an interface value as 16 + N bytes with an alignment of 1, and applies none of the std140 or std430 padding the generated SPIR-V does. Without the attribute there is no single size to report at all: Slang infers it per entry point from the types that reach it, while reflection counts 32 bytes for the value whatever the implementations hold. The conditions above were measured against the SPIR-V, not derived from it. They are conservative: some layouts they refuse would have been reported correctly.

Nesting. On v2026.22 an interface value in a struct nested inside a ConstantBuffer or ParameterBlock does not work, with or without the attribute: code generation fails with error[E99997], or this package refuses the module. A field declared directly in the block's element type works, and so does a StructuredBuffer.

Entry-point uniform parameters

uniform parameters of an entry point are reflected, in graphics and compute stages:

[shader("fragment")]
float4 fragmentMain(float2 uv : TEXCOORD0, uniform Texture2D albedo, uniform float4 tint) : SV_Target
  • A resource parameter (albedo) is an ordinary binding in Bindings, so SetLayoutSlotCount counts its set. Its stage is its entry point's, in both stage-attribution modes. Take its set and slot from reflection.
  • Two entry points that declare one resource at one explicit binding give one binding with both stages; see Two declarations on one binding.
  • The entry point's ordinary data (tint) is a push-constant block at offset 0. Its range and its layout carry the entry point's name, and the range carries that entry point's stage.
  • A program can report one push-constant block. Slang starts every block at byte 0, so data on two entry points, or entry-point data beside a global [[vk::push_constant]] block, cannot be given different values. PushConstantRanges and TryGetPushConstantLayout throw NotSupportedException for such a program; its bindings are still reported. Put the data in one global block and declare no entry-point uniform data.

SV_VertexID needs shaderDrawParameters enabled on the device

If any vertex entry point takes SV_VertexID, enable shaderDrawParameters when you create the device. Slang emits the SPIR-V DrawParameters capability for it — HLSL's SV_VertexID excludes the base vertex where Vulkan's VertexIndex includes it, so the module computes VertexIndex - BaseVertex, and BaseVertex requires that capability. The same GLSL written with gl_VertexIndex requires nothing.

This is deliberately not enabled by default. shaderDrawParameters is an optional Vulkan 1.1 feature and is still optional in 1.4, so switching it on unconditionally would make vkCreateDevice fail with VK_ERROR_FEATURE_NOT_PRESENT on a conformant device that does not advertise it — a worse outcome than the diagnostic below. Enable it yourself:

using var device = gpu.CreateDevice(new DeviceDescription
{
    Queues = [new QueueRequest(family, count: 1, priority: 1.0f)],

    ConfigureFeatures = static (
        ref ChainBuilder<VkDeviceCreateInfo> chain,
        ref VkPhysicalDeviceFeatures2        _,
        ref VkPhysicalDeviceVulkan12Features _,
        ref VkPhysicalDeviceVulkan13Features _,
        ref VkPhysicalDeviceVulkan14Features _) =>
    {
        ref var f11 = ref chain.Push<VkPhysicalDeviceVulkan11Features>();
        f11.shaderDrawParameters = 1;
    },
});

VkPhysicalDeviceVulkan11Features is not one of the four structs the configurer hands out by ref, but it is IChainable<VkDeviceCreateInfo>, so chain.Push<T>() reaches it. The wrapper never pushes that struct itself, so there is no duplicate-sType conflict.

Forget it and nothing obviously breaks, which is the reason this section exists: vkCreateShaderModule still returns a usable handle and the shader runs. Only the validation layer says anything, once:

vkCreateShaderModule(): SPIR-V Capability DrawParameters was declared, but one of
the following requirements is required
(VkPhysicalDeviceVulkan11Features::shaderDrawParameters OR VK_KHR_shader_draw_parameters).
VUID-VkShaderModuleCreateInfo-pCode-08740

Check support first with vkGetPhysicalDeviceFeatures2 if you target hardware that might lack it; on desktop it is effectively universal (the Vulkan Roadmap 2024 profile requires it).

Set indices are set numbers, not positions

A program's descriptor set indices need not start at 0 and need not be contiguous. [[vk::binding(7, 2)]] puts a sampler in set 2 whether or not set 1 exists, and a material system that reserves a space does the same. PipelineLayoutDescription.SetLayouts is positional, so:

  • SetLayoutSlotCount is the length that span must have — the highest declared set index plus one, not the number of populated sets;
  • TryGetSet(i, out bindings) returns false for an index the program declares nothing in.

The reflected set numbers are baked into the emitted SPIR-V. Renumbering them to be dense produces a pipeline layout that builds and then binds to the wrong slots at draw time.

A hole is filled with a descriptor set layout that has zero bindings — device.CreateDescriptorSetLayout(default), which is what Vulkan wants at an unpopulated set index and which Ahjo.Vulkan accepts (issue #191). So the loop has two branches and no gap:

var layouts = new DescriptorSetLayout[(int)reflection.SetLayoutSlotCount];

for (uint set = 0; set < reflection.SetLayoutSlotCount; set++)
{
    layouts[set] = reflection.TryGetSet(set, out ReadOnlySpan<SlangDescriptorBinding> bindings)
        ? device.CreateDescriptorSetLayout(
              new DescriptorSetLayoutDescription { Bindings = bindings.MapBindings() })
        : device.CreateDescriptorSetLayout(default);   // the hole
}

No stand-in binding is invented for the hole; there is nothing there to declare.

Stage flags: two modes, and one of them compiles

SlangReflection precise = program.GetReflection(SlangStageAttribution.PerEntryPointUsage);

Slang's reflection API cannot say which stages use a binding — spReflectionVariableLayout_getStage returns "none" for every global descriptor parameter, and the JSON dump lists the whole global scope under every entry point. The question is only answerable from the compiled artifact, through IComponentType::getEntryPointMetadata.

Mode What DescriptorBinding.Stages gets Cost
ProgramStageUnion (default, program.Reflection) the union of the program's entry-point stages none; generates no code
PerEntryPointUsage only the stages that actually read the binding one code generation per entry point; can throw SlangCompilationException

A superset of stages is always legal Vulkan, which is why precision is opt-in rather than default. Under PerEntryPointUsage, a binding no entry point reads falls back to the union — usage is reported post-optimization, and stageFlags = 0 is not a descriptor any stage could access.

The default mode's members that refuse a program can still throw NotSupportedException.

What an entry point declares has that entry point's stage, in both modes: its uniform resources, and the push-constant block made of its uniform data.

A global push-constant block has the program union in both modes. isParameterLocationUsed reports a push constant as unused even for a stage whose SPIR-V provably contains a PushConstant variable reading it, under every parameter category and space swept, so there is no narrowing to be had.

Vertex attributes, and the half this cannot fill in

reflection.VertexAttributes(entryPointIndex) gives the Location and the declared type — ScalarType, ComponentCount, Kind — for each real varying input of a vertex entry point, struct-typed inputs recursed one level with locations accumulating. System values (SV_VertexID, SV_InstanceID, SV_IsFrontFace, SV_Position) are excluded — without that filter an SV_InstanceID emits a phantom attribute at location 0 that collides with the real POSITION.

MapVertexAttribute turns one into a VertexAttributeDescription, resolving the VkFormat from (ScalarType, ComponentCount):

foreach (var attr in reflection.VertexAttributes(entryPointIndex))
    attributes.Add(attr.MapVertexAttribute(binding: 0, offset: strideSoFar));

binding and offset are parameters because reflection cannot know them. A shader states its input locations and formats but never how the application packs its vertex buffers, so those two and every field of VertexBindingDescription are information reflection does not have. They default to 0, which is right for a single tightly-packed buffer and wrong for anything else. There is deliberately no VertexInputDescription factory here, and composition does not change that.

Note that the two refusals — a matrix-typed vertex input, and a (ScalarType, ComponentCount) pair with no VkFormat — now throw NotSupportedException from MapVertexAttribute rather than from reflection. Reflection reports the matrix; only the mapping to Vulkan has to give up on it.

What reflection refuses rather than guesses

  • More than one push-constant block. Two global [[vk::push_constant]] blocks compose and link, and reflection reports two push-constant ranges — but the only offset it exposes is a push-constant buffer index (0, 1), not the byte offset VkPushConstantRange.Offset needs. Building reflection throws NotSupportedException, naming both blocks. A global block beside entry-point uniform data, or such data on two entry points, throws it from PushConstantRanges and TryGetPushConstantLayout instead; the rest of reflection answers.
  • An interface value in a layout reflection cannot report. TryGetBufferLayout, or both push-constant members for a push-constant block, throw NotSupportedException — see Interface values in buffers.
  • One binding declared two ways. MapBindings throws NotSupportedException for two descriptor types at one binding number, and TryGetBufferLayout for declarations with different buffers; the rest of reflection answers — see Two declarations on one binding.
  • An entry point whose uniform scope has an unmeasured shape: a constant buffer that is not a push-constant block. No graphics or compute shape probed produces one; building reflection throws NotSupportedException.
  • A matrix-typed vertex input. It occupies SizeInLocations consecutive locations and SPIR-V decorates it at the base one, but MapVertexAttribute returns one VertexAttributeDescription. To fill them by hand: in a row-major session each of RowCount locations carries ColumnCount components, in a column-major session the reverse (both measured). NotSupportedException, naming the field.

Each is a case where a plausible guess produces a pipeline that builds and then mis-binds, which is exactly the class of bug reflection exists to remove.

Decoding shader-abort messages

A Slang abort(format, args…) emits OpAbortKHR. When it executes, the device is lost, and the message comes back after the loss in DeviceFaultReport.ShaderAbortMessages (from Device.TryGetDeviceFault) — as raw payloads, because Vulkan performs no formatting and the layout belongs to the shading language. SlangAbortMessage decodes Slang's.

Enabling it. On the device, follow the recipe on VulkanExtensions.KhrShaderAbort: enable KhrDeviceFault, KhrShaderAbort and its dependency KhrShaderConstantData, and push the deviceFault and shaderAbort features after checking them with PhysicalDevice.TryGetFeatures. On the session, declare the capability so the default spirv_1_5 profile is not implicitly upgraded with a warning:

using var session = compiler.CreateSession(new SlangSessionDescription
{
    Capabilities = [Utf8Name.FromLiteral("spvAbort"u8)],
});

In the crash handler, one call per payload:

if (device.TryGetDeviceFault(out DeviceFaultReport? report))
{
    foreach (byte[] p in report.ShaderAbortMessages)
        log(SlangAbortMessage.Describe(p));   // "bad value: 42 at 0"
}

Describe never throws and never returns null: a payload it cannot decode comes back as the format plus the reason, or as a hex dump when it is not a Slang abort message at all. TryDecode gives structured access — Format, Arguments (kind, payload offset and raw bits of each scalar) and Text.

Specifiers. C printf grammar with d i u x X f F e E g G and %%; flags - + space 0 #; decimal width and precision; length hh h l ll; and a GLSL-style vector prefix v2–v4 before or after the length (%v3f, %llv2u). The payload carries no types, so widths come from the format, with two deliberate departures from C: %hf is a 16-bit half and %lf is a 64-bit double (%f is the shader's 32-bit float). %s is unsupported because Slang refuses string arguments.

The layout is not a Slang contract. It is what the pinned Slang emits: the format's UTF-8 bytes and a NUL, padded to 4 bytes, then each argument in scalar layout. SlangAbortLayoutTests pins it by compiling real abort shaders and comparing the decoder's offsets with the emitted OpAbortKHR message type, so a Slang bump that changes it fails the suite instead of misdecoding.

Lifetimes

SlangProgram.Spirv(i) is a view over Slang-owned native memory the program holds a reference on. It is valid until the program is disposed — the same contract SpirvBlob.Words states. Copy it if it has to outlive the program.

Dispose in reverse order of creation: programs and modules, then sessions, then the compiler. SlangCompiler.Dispose releases the global session and does not call slang_shutdown(), so creating a second compiler in the same process works.

Everything here is setup-time. Compiling allocates, and that is fine — the repository's zero-per-frame-allocation invariant covers command recording, synchronization, pools and memory, none of which this package touches.

Native AOT

Clean, and proven rather than asserted: samples/AotSmoke compiles its triangle with this package at startup and is published with PublishAot=true in CI, so any reflection or dynamic-codegen creep on the compile path fails the publish.

What this package does not do yet

Build-time compilation. This repository's samples and tests now compile their shaders at build time with the pinned slangc, through a repo-internal MSBuild step (#171). That step is not part of this package: consumers who want build-time compilation should run slangc the same way, or use SlangCompiler at run time. slangc's own defaults differ from this package's: to match a default session it needs -std 2026 and -matrix-layout-row-major.

There is also no permutation or variant-cache API, and no Specialize — see "Specializing an interface-typed ParameterBlock" above for why the latter is a decision rather than an omission.

On the reflection side, four gaps remain. Three are named with the entry points that would close them:

  • Array-of-struct member paths (Lights[0].Color). Needs a decision about element-relative offsets rather than an append; ToJson() covers it today.
  • User attributes on members and types — spReflectionVariable_GetUserAttributeCount / GetUserAttribute and spReflectionUserAttribute_GetArgumentValue{Int,Float,String}. [Attribute] is how a material editor gets UI ranges and display names, and its argument model needs designing.
  • Member default values (spReflectionVariable_HasDefaultValue, GetDefaultValueInt, GetDefaultValueFloat). The bound getters cannot express a float3 default, so shipping them would describe defaults incorrectly.
  • The descriptor set that DescriptorHandle binds is not reported (#287).

SlangImageFormat also has no VkFormat mapping in SlangVulkanMapping yet — a ~40-entry table with no consumer at layout-creation time.

Licensing

The Slang compiler binary is Apache-2.0 WITH LLVM-exception (the Khronos Group / NVIDIA) and ships in Ahjo.Vulkan.Slang.Native, which this package depends on. This package's own code is MIT.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.19.0 102 11/29/2026
0.18.1-alpha.0.6 59 11/29/2026
0.18.1-alpha.0.5 68 11/28/2026
0.18.1-alpha.0.4 60 11/28/2026
0.18.1-alpha.0.3 65 11/25/2026
0.18.1-alpha.0.2 70 11/13/2026
0.18.1-alpha.0.1 59 11/13/2026
0.18.0 120 11/13/2026
0.17.1-alpha.0.17 64 11/13/2026
0.17.1-alpha.0.16 70 11/13/2026
0.17.1-alpha.0.15 74 11/13/2026
0.17.1-alpha.0.14 65 11/13/2026
0.17.1-alpha.0.13 70 11/13/2026
0.17.1-alpha.0.12 67 11/13/2026
0.17.1-alpha.0.11 69 11/13/2026
0.17.1-alpha.0.10 64 11/13/2026
0.17.1-alpha.0.9 66 11/9/2026
0.17.1-alpha.0.8 78 11/6/2026
0.17.1-alpha.0.7 68 11/6/2026
0.17.1-alpha.0.6 73 11/6/2026
Loading failed