Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 15:37
· 59 commits to main since this release

First stable release. The public API (ShaderCompiler, CompileOptions, CompileResult, reflection, InterfaceCompatibility) and the generated C# shape are now covered by Semantic Versioning.

  • Vertex, pixel and compute shaders in modern HLSL (HLSL 2021 templates included) compile to optimized SPIR-V for Vulkan 1.2, Metal Shading Language and WGSL, each with reflection; the build package compiles *.hlsl during dotnet build, reports errors on the HLSL line, embeds the selected targets (OneShaderTargets) and generates C# structs and binding code.
  • Since 0.4: the packages are built with deterministic paths, embedded untracked sources and a symbol package (.snupkg); package metadata links to the public repository; the four-platform CI (Windows x64, Linux x64 and arm64, macOS arm64) runs the compiler tests, the build-package tests and the NativeAOT smoke app, and runs the reference-tool tests (DXC, spirv-val, naga) wherever those tools are released.
  • Tested: the five fuzz targets (preprocessor, front end, IR and optimizer, every backend) ran clean for 600 s each, and the corpus is checked with spirv-val, by running it on GPUs against DXC's output, with naga, with Apple's metal compiler and on WebGPU.