Skip to content

Releases: shader-slang/slang

v2024.1.6

27 Mar 21:10
5692879
Compare
Choose a tag to compare
Slang v2024.1.6

Changes:

56928794 Fix incorrect SPV stride for unsized array (#3837)
b346a933 Allow var/param names to be the same as type name. (#3850)
8395acfa Fix lookup to prevent finding `typedef` itself. (#3848)
c5369d50 Update README.md with tables for platform & target support (#3847)
c37e3ee2 Fix parsing issue around __transparent_block. (#3842)
dfdf243f Support mutable existential parameters. (#3836)
0877d1a3 Implement GLSL gimageDim & memory qualifiers with optional extension(s); resolves #3587 for GLSL & SPIR-V targets #3631 (#3810)
57f514d0 Fix the sign-extending issue in right shift (#3820)
5c88619c Fix default space assignment. (#3833)
cbe55261 Fix missing PerPrimitive decoration in mesh shader output. (#3828)
c9df734b Allow anonymous struct. (#3822)
a23adc22 Make `-no-mangle` option work, add `-no-hlsl-binding`. (#3817)
9b0df14c Changes to make UE TSR working with Slang. (#3815)
00474731 Partially implement vk_buffer_ref proposal. (#3814)
7a8ef896 Support arrow operator `->` on pointers. (#3812)
dd32414b Diagnose cyclic references in inheritance graph. (#3811)
9bd6b233 Fix `TriangleStream` lowering. (#3809)

v2024.1.5

20 Mar 23:53
45c7d33
Compare
Choose a tag to compare
Slang v2024.1.5

Changes:

45c7d33f Fix spirv generation for using output stream in a function. (#3806)
c371ccea Update a1-01-matrix-layout.md
c28a22fb Fix namespace parsing. (#3803)
04ffa84c Update a1-01-matrix-layout.md
6cefb85b Change representation of float literal in language translation (#3798)
f3b1161c Use static const in glsl.meta.slang. (#3801)

v2024.1.4

20 Mar 01:24
c2d4bcf
Compare
Choose a tag to compare
Slang v2024.1.4

Changes:

c2d4bcf9 Add more cases for `isUniformParameterType`. (#3800)
1ee1688a Fix type checking for constructors in generic interfaces. (#3799)
05f403be Fix regression on pointer address space handling. (#3797)
2b55de92 Fix inconsistent digest of precompiled module. (#3796)
50c268e5 Swap `left` and `right` for matrix multiplication (#3777)
2bfde345 Check cyclic types after specialization. (#3791)

v2024.1.3

19 Mar 00:33
26e25f6
Compare
Choose a tag to compare
Slang v2024.1.3

Changes:

26e25f6e Check for cylic types. (#3790)
f96a3fea Fix SPIRV for mesh shaders, checks for invalid target code&recursion. (#3788)
7f6e9591 Fix name mangling and source file finding logic for precompiled module validation. (#3784)
2d41012e Update 09-reflection.md (#3787)
667e209b Remove out of date documentation on compilation API. (#3785)
db60d191 [gfx] compile shaders when creating programs for d3d12/vulkan (#3774)
9b434e50 Implement raytracing extension(s); resolves #3560 for GLSL & SPIR-V targets (#3675)
9ee88a43 [gfx] use CUDA driver API (#3776)
d40931cc Mesh shader refactoring and bugfixes (#3702)

v2024.1.2

14 Mar 22:14
c7d7a96
Compare
Choose a tag to compare
Slang v2024.1.2

Changes:

c7d7a965 Support `#include` with angle brackets. (#3773)
f5f0740b Support unscoped enums. (#3771)
78d4df06 Add diagnostic on invalid type constraint. (#3769)
ba65c212 Fix lowering of glsl builtin globals. (#3767)
73c0cd17 Add cautionary desclaimers on interop mechanisms. (#3763)
67704d0e CMake fixes for MacOS (#3761)
e4b01c4b Fix side effect checking around storage buffer type. (#3762)
25df6b86 Fix crash when specializing generic entry points. (#3760)
5f0ee87d Add wrapper type synthesis logic for constructors. (#3756)
9fd74379 Implement glsl atomic's [non image or memory scope] with optional extension(s); resolves #3587 for GLSL & SPIR-V targets (#3755)
6f7c8271 Fix `sessionDesc.defaultMatrixLayoutMode` being ineffective. (#3753)
eef7e208 Fix derivative implementation of `clamp`. (#3750)
edc85fc4 Make type names spec-conformant in SPIRV reflect. (#3748)
8b519603 [SPIRV] Fix OpMemberDecorateString. (#3747)
66a0d91d Add nightly vkcts workflow (#3717)
8dc635ae gfx: return error when vulkan fails to create buffer/pipeline (#3741)
1c4e1acd [SPIRV] Use VectorTimesScalar opcode. (#3737)
d8eb7011 Support emitting generic target_intrinsic type. (#3745)
a91af961 Update 08-compiling.md

v2024.1.1

11 Mar 22:10
7c7fbd5
Compare
Choose a tag to compare
Slang v2024.1.1

Changes:

7c7fbd57 Add `-fvk-use-dx-position-w` and fix ExecutionMode ordering for geometry shaders. (#3731)
1bbcf25a Link-time specialization fixes. (#3734)
25a7d514 Fix spirv builtin for `SV_ShadingRate`. (#3730)
10c4d2e7 Fix crash when trying to constant fold non-existent call. (#3728)

v2024.1.0

09 Mar 02:21
5074ee7
Compare
Choose a tag to compare
Slang v2024.1.0

Changes:

5074ee7c Improve cpp prelude. (#3725)
0629b22b Enhance link-time type test. (#3724)
21502874 Add documentation for uniformity analysis. (#3721)
bc3dc0e8 Parser and module finding logic fixes. (#3720)
6f8a2068 [SPIRV] fix code gen for `SV_Coverage`. (#3718)
5afe9709 Add ray query intrinsic test (#3707)
faaa532a [SPIRV] Fix pointer lowering bug. (#3713)
a810aa31 Link-time constant and linkage API improvements. (#3708)
6492906e Fix SPIRV emit logic of `PrimitiveId` in fragment shader. (#3705)
240727db Uniformity analysis. (#3704)
af108c72 set VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT for device local memory (#3698)
a1e79e4b Fix the cuda left-hand swizzle issue (#3538) (#3691)
cc2a879b Integrate compile & validation test (#3674)
1cba7f31 Enable SampleCmpLevelZero tests and update the results (#3677)
f2e32575 [slangc] generate an error when `-entry` is not specified for targets that require them. (#3679)
8d4b659b [SPIRV] Fix DebugLine generated from source with #line directive. (#3678)
bb017e6a Extend `as` and `is` operator to work on generic types. (#3672)
2297623a Implement short-circuit logic operator (#3635)
0371deef Add user-guide section on pointers. (#3670)

v2024.0.15

04 Mar 21:26
01efe34
Compare
Choose a tag to compare
Slang v2024.0.15

Changes:

01efe34d Add `IGlobalSession::getSessionDescDigest`. (#3669)
16342f4a Fix lowering logic around imported modules. (#3668)
f8c54056 Fix SPIRV pointer codegen. (#3664)
a4919e3e Enable debug info for swizzledStore. (#3659)

v2024.0.14

01 Mar 23:34
9a1e327
Compare
Choose a tag to compare
Slang v2024.0.14

Changes:

9a1e3273 Make slangc commandline parsing compatible with renderdoc. (#3658)

v2024.0.13

01 Mar 22:05
e752a95
Compare
Choose a tag to compare
Slang v2024.0.13

Changes:

e752a957 Update doc TOC (#3657)
ff48854b Add documentation for debugging. (#3656)
cc9ada16 Small cleanups for bitfield accessor synthesis (#3651)
a4ba7d63 warnings (#3653)
0d01b370 Various SPIRV fixes. (#3655)
3ade0730 Fix various crashes when generating debug info. (#3650)
458d6630 [SPIRV] Fix logic for emitting debug matrix type. (#3649)
17da4d90 [SPIRV Debug] Properly update output arguments after call. (#3648)
d979b504 Add support for bitfields (#3639)
21f86773 Fix crash in `insertDebugValueStore`. (#3647)