github shader-slang/slang v2025.13

latest releases: v2026.8.1, v2026.8, v2026.7.1...
9 months ago

=== Breaking changes ===
No breaking changes

=== All changes for this release ===
6e0c63b Fix segfault when using -separate-debug-info with unsupported targets (#7777)
52a4589 Fix crash when private ctor is used for coercion. (#7858)
0d26dba Fix findFunctionByNameInType to preserve functions with different signatures (#7827)
f25e5a8 Add CI to check ir module versioning (#7821)
e6906d6 Add Python type stubs for LLDB (#7826)
9d47a35 Fix Conditioanl<T, false> fields with a semantic. (#7855)
9adac40 Fix capability generator to sort capabilities alphabetically within header groups (#7851)
13dd014 Add command-line arguments to examples (#7835)
a77d22b Fix C-style casts in GLSL pointer cast operations (#7841)
368ddbb Add utility to trace creation of problematic IRInsts to assist LLM in debugging (#7820)
7343c71 Fix D3D12 test failure without Windows Developer mode (#7831)
4d514f7 Fix enum array indexing by adding implicit conversion support (#7815)
3df9fe8 Add comment support to expected-failure files in slang-test (#7817)
7027359 Fix debug info generation for let variables in SPIR-V output (#7743)
c901338 Claude: increase tool timeout setting. (#7818)
48b6e24 Lower int/uint/bool matrices to arrays for SPIRV (#7687)
85edfb1 Add bounds checking for out-of-bounds array access with constant indices (#7814)
447d73f Fix GLSL global const diagnostic regression (#7808)
094d1ba Prelink ForceInlined functions during lowering. (#7812)
ed1a0b8 slang: Update ir-instruction-definition.md to reflect changes to operand specification (#7804)
150ec59 slang: Add support for generating getters for IR struct defs. (#7725)
ab5a815 fix typo (#7794)
c9ece34 mention adding new stable names manually (#7802)
4dccdff fix const qualifier for specialization constants (#7640)
b138e3f Fix BitCast emitting bit shifts with too small integer types (#7792)
3485710 Merge NamePool and RootNamePool into a single type (#7797)
28758e0 Perf improvements to IR serialization (#7751)
020a160 Improve lookup performance. (#7798)
5937e1e Fix duplicate mangled names for interface requirements (#7764)
cff6eab Further increase claude action limits. (#7803)
041e05f Increase timeout of claude workflow to 6 hours. (#7801)
f081b86 Document IR changes (#7781)
3e42d1b bump and pin cmake formatter version (#7800)
1f3d537 Fix formatting (#7799)
73f9aeb Fix duplicate DiffPair struct generation for row_major matrices in autodiff (#7728)
80f43f4 Strip debug info only for the SpvOpExtInst of debug import type (#7779)
0bc89f2 Fix CUDA issues with texture reads and surface writes (#7780)
56e91e9 Diagnose on initExpr of a global const decl (#7711)
bcd5332 Note that Slang::String is owned/null-terminated (#7648)
b282d0d Correct help text for -dump-intermediate-prefix (#7768)
439e025 Document why failing VVL coop-vec tests cannot be enabled & minor cleanup/bug-fix (#7754)
223ccd4 Fix Metal pointer type emission in entry point parameters (#7759)
299eb0c Fix GLSL memory layout qualifiers not applied to uniform buffers or cbuffers (#7740)
a8519e6 Fix WGSL sign function to return correct int type instead of float (#7739)
652a8ee Add clear diagnostic for unsupported float types in generic value parameters (#7737)
21a6626 Emit additional diagnostic for invalid pointer taking operations (#7663)
f48fc78 Debugging code improvement for IR tracking (#7770)
12759c4 Add Claude local setting files to .gitignore (#7771)
73e9987 Fix slang-generate segfault when parsing $(()...) (#7683)
d964555 Replace [KnownBuiltin] string-based comparisons with enum-based system (#7714)
66d915a Update issue templates
50ba69b Update issue templates
4af65f3 Update issue templates
3714380 Fix language server crash. (#7756)
db06fbb Let flake.nix users run extras/formatting.sh (#7682)
d395902 Add WorkgroupCount function (#7734)
e16b5ca Update claude instructions to help with debugging. (#7732)
1e1a49c Fixup address spaces after inlining. (#7731)
d8d0b89 Enable (at least a sub-set of) CoopVec tests that are disabled (#7706)
704d0c7 Fix unnecessary Int64 SPIRV capability usage in pointer marshalling (#7717)
243f522 Fix segfault with Ptr extension using 'This' type reference (#7719)
39f3c6c Use stdout for --help text instead of stderr (#7730)
1dc32b8 Add DebugGlobalVariable instructions to SPIR-V output (#7686)
e3afef1 Fix metal segfault by check vectorValue before accessing (#7688)
eaaf019 Use claude action v0.0.31 to avoid premature termination.
5756777 Fix IEEE 754 NaN comparisons in constant folding (#7721)
b20b929 Modify CLAUDE.md for slang project better (#7720)
90c34e3 Ensure generic constraints are checked before inner extension. (#7685)
7764b83 Fix issue in match parameter type that depend on an associatedtype. (#7707)
0ddb2fc Add slang-gfx build target back for Falcor (#7700)
1eb6280 Configure the surface with right format (#7710)
d0f342c Fix int16_t/uint16_t support for WGSL target (#7692)
6f11c50 Only append slangc --help value categories if explicitly specified (#7712)
850df79 Fix CommittedRayInstanceCustomIndex generating wrong SPIR-V opcode (#7659)
df398fa Fix#7676 - Add Claude Code Assistant for using LLMs (#7673)
aa3cc1e Fix SV_VertexID and SV_InstanceID crash with -preserve-params in SPIR-V emitter (#7691)
c1d07df copilot instruction prompt: emphasize to format changes.
2d82d63 Fix slangc --help text for -reflection-json (#7653)
e40ddc6 Fix internal error when a generic in an extension is unused (#7665)
a670baf no_diff diagnostics improvement (#7655)
a7cb369 Avoid adding underscore to _snorm format if it has one (#7664)
43d0c21 Convert gfx unit tests and examples to use slang-rhi (#7577)
00746bf Stable names and backwards compat for serialized IR modules (#7644)
4f54ccc Generate OpExecutionMode PointMode for tessellation shaders (#7662)
a64a0ac Fix typo in image format table (#7661)
e036c7f Fix extension incorrectly interacting with equality and type-coercion constraints (#7578)
2c4bfce Add error for forward references in generic constraints (#7615)
0ab5151 Add list and hint on usage in slangc -h (#7638)
e528853 Fix a bug in examples/reflection-api (#7652)
a68e263 Improve slang-test output verbosity control (#7625)

Don't miss a new slang release

NewReleases is sending notifications on new releases.