Skip to content

Releases: shader-slang/slang

v2024.17

12 Dec 08:02
772c48a
Compare
Choose a tag to compare
Slang v2024.17

Changes:

772c48af9 Fix language server check skipping when explicit module decl exists. (#5845)
626e81478 Bump spirv-header/tools/glslang (#5834)

v2024.16

12 Dec 01:23
2999cb7
Compare
Choose a tag to compare
Slang v2024.16

Changes:

2999cb72a LSP: fix "documentSymbol failed" error. (#5842)
1f3be303e Use perfect forwardnig to preserve the parameters for log (#5841)
c17369a50 Fix the logic to determine whether lower generic pass should run. (#5837)
0af589bf2 Fix loop hoisting logic in redundancy pass. (#5836)
941f07040 Fix attribute reflection. (#5823)
e50aac13e Update SPIRV submodules (#5815)
f573c1586 Fix anyvalue marshalling for matrix and 64 bit types. (#5827)
f68768887 Fix wgsl float texture format inference silent failure (#5831)
3f818cba2 A small mistake. (#5819)
f0b991415 Enable WGSL tests that works for Metal related to Semantics (#5816)
4a63e33d6 Correct proposal number (#5809)
523e9f012 Enable exprs for GLSL binding layout qualifiers (#5807)
34497ae6d Add more details on PR process to CONTRIBUTING.md (#5812)
8bf4743f5 Create scope for synthesized property decl. (#5817)
89bf795f1 Fix a crash when search for files. (#5818)
b0dfb1aef Don't emit a warning when implicit casting from known in-range int lit to half. (#5814)
945d8dd3c Fix parsing logic of for loops' initial statement. (#5813)

v2024.15.2

09 Dec 14:23
ebfbe58
Compare
Choose a tag to compare
Add SV_DrawIndex. (#5787)

Co-authored-by: Ellie Hermaszewska <[email protected]>

v2024.15.1

06 Dec 12:40
27b7ac0
Compare
Choose a tag to compare
Emit debug info for Release builds (#5783)

* Remove unnecessary warnings on windows

* Correctly set debug flags on gcc

* Emit debug info for Release builds

* Perform LTO for relwithdebinfo builds

* Release from release builds not relwithdebinfo

v2024.15

02 Dec 19:27
4003d33
Compare
Choose a tag to compare
Slang v2024.15

Changes:

4003d337a Add WebGPU target doc (#5708)
0d92d7298 [Docs] Minor fixes to auto-diff documentation (#5621)
136c2e22b fetch and extract prebuilt deps lazily (#5707)
c005fe997 Emit OpExecutionMode SpacingEqual for Domain stage (#5696)
0b92e1de8 Explain why tests/autodiff/diff-ptr-type-array.slang is disabled for WGPU (#5702)
e53ca9872 Support nonuniformEXT for GLSL (#5695)
55bea7d72 Fix markdown mistakes on user guide (#5672)
c3557978c docs: Reduce typo count (#5671)
71f972687 Add missing WGSL intrinsics to test (#5663)
7a5981eb5 Make ToC regeneration script path handling more robust (#5700)
6bc63681e Update Slang-RHI/slang (#5701)
6e52cc811 wgsl: signedness mismatch fixes (#5692)
947b99e8e Add Table of Contents check to CI, and bot script to regenerate (#5618)
2c82b14c4 Sort filenames when generating table of contents (#5659)
0f3ff5f38 wgsl: Conditionally enable some tests based on 'half' support (#5694)
410ad9c18 Update workflow YML files for renamed files (#5688)
36ac8ff4e Document the restrictions for vector size (#5673)
915e05dcc WGSL: Fix issue where swizzle L-values are generated (#5682)
9e21cd4a7 wgpu: Enable Metal-like legalization for byte addressible buffers (#5681)
cf0e3a636 Enable Link-Time-Code-Generation for Release builds (#5678)

v2024.14.6

26 Nov 03:53
e6cf93e
Compare
Choose a tag to compare

=== Breaking changes ===
7b570fe Correct include dir for libslang (#5539)

=== All changes for this release ===
e6cf93e Fix issue with slang-embed & include ordering (#5680)
d282701 Support interpolation modifiers for WGSL (#5641)
044b52c Fix issue where inter-stage parameters without semantics don't get location attributes (#5670)
aaca2d2 wgsl: Fix field semantics even if input struct doesn't need flattening (#5642)
e30f053 Fix broken link in 09-reflection.md (#5655)
dacfa15 [Docs] Re-run build_toc and fix dead links (#5647)
65a761a Fix unused struct in sample shader (#5650)
9913cfb [AD] Add support for resolving custom derivatives where generic parameters can't be automatically inferred (#5630)
95125f2 ci: Use v1.11 of the release-downloader action (#5643)
43728fb Don't treat StrcturedBuffer as a specializable param. (#5645) (#5629:quality & productivity)
756cb32 Fixed type (#5639)
a2626ea [Docs] fix spirv dead links on toc.html (#5638)
8e28e51 Enable core module embedding by default in CMake. (#5644)
d7c735f [Docs] Optional - fix small typo on example (#5637)
e256836 Add explanation for disabled WGPU tests (#5628)
13f42e0 [Docs] Extensions - better wording for c# equivalent (#5636)
e0033b3 ci: Update actions/checkout to always use v4 (#5634)
fdf061e Add datalayout for constant buffers. (#5608) (#5595:quality & productivity)
dcc7c6f Enable some rendering tests (#5623)
dbc28b4 Add reuse and related files (#5622)
93f5d13 Refresh of disabled WGPU tests (#5614) (#5519:quality & productivity)
e9caf5d Change how DeclRef::toText works (#5592)
3d36e0c Add description on write-only textures in wgsl doc.
b0818ac Small docs corrections (#5615)
b530506 Clarify stdlib-docgen example (#5619)
4f6b928 Add Matrix overload for exp10() core lib function (#5620)
54ec755 Add link to metal docs and regen TOC (#5616)
eb4ee72 Enable WGPU texture sampling test (#5617)
00765c3 Minor core lib doc fixes (#5599)
a43b3c4 Fix WGPU test by provding TEST_INPUT for outputBuffer (#5611) (#5277:forward looking)
ed123a9 WGSL: Support isnan, isinf, etc.. (#5609)
1e7f541 Fix wgsl legalization around __ref parameter. (#5597) (#5596:quality & productivity)
a63f065 Document math core lib functions (#5594) (#5446:meta-task)
f9c5fa7 LanuageServer: fix signature help param range. (#5593)
6e4473d Metal documentation (#5549)
0bf6a66 Markdown emphasis corrections (#5588)
a50de6b Implement semantics for WGSL (#5589) (#4943:forward looking)
f98579d Document WGSL-specific features (#5571) (#5567:quality & productivity)
fa917fe Fix specialization constant miscompile in glsl mode. (#5568) (#5463:client support)
75d65d3 Remove "GL_EXT_samplerless_texture_functions" from combined sampler functions. (#5585) (#5578:client support)
ec5e019 Add IDifferentiablePtrType support for arrays (#5576)
05903f7 Embed core module in wasm build. (#5569)
f0bc464 Insert some casts for WGSL texture attribute queries (#5560) (#4943:forward looking)
147ceb1 Fix issue with raw default constructors in SPIRV emit (#5556)
e58ba6b [slang-rhi] pass encoders (#5559)
afa29d4 Proposal for a language version directive. (#5555)
fdf106b Make getDependencyFilePath return most unique identity. (#5553) (#5332:client support)
e0d03da Fix regression caused by defer buffer load. (#5552)
5948326 Copy headers into build dir at build time (#5547)
5cb960a Fix WGSL emit for '&' and add bindings for thread group size (#5557)
f7149b9 WASM-binding: default to sm_6_6 when targeting hlsl. (#5554)
91f19be Various fixes to enable some WGSL graphics tests (#5548) (#4943:forward looking)
2be4fa4 Update CONTRIBUTION.md to clarify merge strategy. (#5546)
0754abe Push buffer load to end of access chain. (#5544) (#5538:client support)
567c7e0 Fix two specialization bugs (#5540) (#5516:quality & productivity)
ea04ad1 Add wasm binding to get reflection json. (#5536)
3b7d0e0 Use correct slang source dir for slang-rhi (#5534)
7e51180 Reflection compiler option (#5507) (#5492:client support)
98dab05 mention code formatting in contribution guidelines (#5514)
13709e5 Refine codeowners for proposals (#5533)
9aa7adb Transfer offset decorations when legalizing laid-out structs (#5525) (#5264:forward looking)
c0d0611 [slang-rhi] refactor command encoding (#5487)
5ca37c3 Use automatic coarse grained memory management in wasm binding. (#5528)
7c41446 Require GL_EXT_samplerless_texture_functions only if needed (#5527) (#5518:client support)
f66b046 [WGSL] [WASM] Add reflection endpoints + Fix bit manipulation operations (#5499)
0f46ce8 Fix EHa flag compiler filtering (#5524)

v2024.14.5

07 Nov 23:50
462584d
Compare
Choose a tag to compare
Slang v2024.14.5

=== Breaking changes ===
f4d5aa73 Revert uint<->int implicit cast cost to prefer promotion to unsigned. (#5480)

=== All changes for this release ===
462584dc Mark -embed-downstream-ir as experimental (#5517) (#5434:forward looking)
9ff6dd4e Correct category label positioning in hlsl.meta.slang (#5515)
64c6cb19 Fix user-attribute-lookup wgpu crash (#5510)
43df1da0 Enable a bunch of WGPU tests (#5513) (#5505:forward looking)
d53a3ab9 Fix the logic bug in spirv-emit compile option (#5512)
7c195d3b Fix CUDA prelude for makeMatrix (#5509)
65de5452 Fix the WGSL error about semantic when a nested struct is inlined (#5506)
989847f6 Fix IntVal unification logic to insert type casts + buffer element lowering regression. (#5508) (#5262:forward looking)
d9cb281f Document raytracing functions (#5494)
2533125c Fix WGSL parameter block binding. (#5500) (#5222:forward looking)
b8670343 [WGSL] Enable arbitrary arrays in uniform buffers. (#5497) (#4985:forward looking)
f8294202 Make various parameters and return types require specialization when targeting WGSL (#5483) (#5228:forward looking)
79056cd7 Legalize the Entry-point for WGSL (#5498) (#5486:client exploration)
4fa76f37 Catch all exceptions in render-test (#5495)
e22c0b72 Fix system semantics of SV_GroupIndex (#5496) (#4940:forward looking)
0336a3a8 Fix issue of infinity float literal (#5489) (#5280:forward looking)
fc7de920 Update slang-rhi and fix error handling (#5485)
b118451e Move switch statement bodies to their own lines (#5493)
53dd5928 Fixing the wrong implementation of some math intrinsic (#5491) (#5282:forward looking)
7c2ff547 Various WGSL fixes. (#5490) (#5289:forward looking)
2c8dacfa Update user-guide top bar nav links. (#5488)
de561959 Add codeowners file (#5482)
5f4980a1 Allow enum cases to be used in attribute arguments. (#5478) (#5477:client support)
[BREAKING] f4d5aa73 Revert uint<->int implicit cast cost to prefer promotion to unsigned. (#5480)
61cddbee Improve on spirv generation compile option (#5479)
b8d50b58 Enable a few more WGPU tests (#5476)
e1c3c4ae Update Slang-RHI again to get more WGPU fixes (#5475) (#5222:forward looking)
c044ec22 Update Slang-RHI to get recent WGPU fixes (#5467)
07e45add Add `lerp` for wgsl. (#5472)
582d10d5 Add function of getting hash string to wasm binding (#5468)
0f68de95 fix javascript error on doc layout. (#5464)
1487a1f9 Constant-fold for the type-casting in switch-case labels (#5436)
a98fb6cb Enhancements to diff script (#5460)
90bde476 Find slangc in more places in doc generation script (#5461)
28f20f45 Write only texture types. (#5454) (#5333:forward looking)
feec3cf4 Add design doc for write-only textures. (#5455)
368c2d6e Add google analytics. (#5438)
521df4f0 Fix vs build (#5452)
302e6042 Correct formatting (#5457)
10549e6b fix release script (#5459)
22d1e345 format yaml and json (#5428)
44dc5ea2 Put debug symbols in releases (#5370)
613a29af Precompiled SPIR-V import support (#5048) (#4992:forward looking)
99c728f8 fix formatting issue (#5432)

v2024.14.4

29 Oct 19:32
24bf067
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2024.14.3...v2024.14.4

v2024.14.3

25 Oct 03:14
46b8ab8
Compare
Choose a tag to compare
Slang v2024.14.3

Changes:

46b8ab835 wasm: Add compile target option when creating slang session (#5403)
ee709cffe Fix language server crash. (#5395)
61aa67023 declutter top level CMakeLists.txt (#5391)
fb50c0329 Fix a few documentation typos (#5396)
a0bea0750 Fix several bugs with `specializeWithArgTypes()` (#5365)
5a161dd79 Document the interfaces in the core module (#5374)
855833e72 Document bit operations (#5373)
fb16467a9 Document derivative core module functions (#5369)
7ede8a40b Update update_spirv.md
7a22eac84 Update the document, `update_spirv.md` (#5368)
ba775784b Recognize a new spirv header json grammar keyword "aliases" (#5367)
3e84726f4 Fix  spirv codegen for pointer to empty structs. (#5355)
20fa42e82 Stdlib documentation for Atomic, Optional, Tuple (#5358)
0e8e8cb97 Add more doc for builtin interfaces. (#5357)
563258c28 Fix UAV access for 3d texture mips (#5363)
3b8efefb1 Fix incorrect setting of array information for 1d texture arrays in D3D12 (#5361)
6f9c6087e Mark SPIRV artifact as non-executable. (#5356)
307315a73 Properly check switch case. (#5341)
9936178dd Remove use of Variable Pointer capability. (#5352)
b2386f36e Make slang-llvm fetching and failure more robust (#5346)

v2024.14.2

18 Oct 15:39
f2b2db5
Compare
Choose a tag to compare
Slang v2024.14.2

Changes:

f2b2db57c Update slang-rhi (#5345)
2bcb87d93 Use `VariablePointersStorageBuffer` instead of `VariablePointer` spv … (#5340)
c7584b29f Remove sccache (#5206)