Skip to content

Releases: shader-slang/slang

v2024.1.21

06 Jun 17:22
8ea3854
Compare
Choose a tag to compare
8ea3854d work on gfx metal backend (#4287)
40d48bf1 Fix python syntax highlighting in slangpy chapter (#4282)
20f7f4a2 make String::trim consistent with String::trimStart/trimEnd (#4285)
c0c426c8 Avoid duplicating entry points in library (#4279)
e757ce77 add 'override' keyword to getCompileTimeProfile (#4275)
07a3438b initial set of lldb formatters (#4272)
c4a56050 Use memcpy to replace strncpy_s (#4270)
bacf73cc Add APIs to get profile of compile time (#4242)
1141b824 Fixes incorrect profile string (#4268)
9b6b31be Print warning when operator<< shifting too much (#4255)

v2024.1.20

03 Jun 21:27
89c1fd0
Compare
Choose a tag to compare
89c1fd0d Fix performance issue in source-map (#4261)
68bf31e5 Add an option to disable source map in obfuscation (#4260)

v2024.1.19

03 Jun 07:03
753a524
Compare
Choose a tag to compare

753a524 Metal Task Shader payload (#4238)
0bc89bc Prevent hoisting of non-hoistable instructions in non-function values with code (#4250)
c5a453e Support different SPIRV versions. (#4254)
5799281 Capabilities generator inclusive join and misc (#4237)
a5cdb57 Fix a bug on default initialization of interface typed value. (#4249)
febbeb1 Support SPIR-V DebugTypePointer (#4228)
66252cb Various issues in code snippets (#4247)
1995721 Update document regarding pointer (#4248)
523a637 Fix confusion in Translation Units doc (#4245)
daec0a3 Fix small typo (#4246)
9fe23ca Increase MSVC warning level to 4 for Slang projects (#4207)

v2024.1.18

30 May 01:10
efdbb95
Compare
Choose a tag to compare
Slang v2024.1.18

Changes:

efdbb954 Improve compile time performance. (#3857)
83f176ba Add options to speedup compilation. (#4240)
c1e34c5a Print memory leak info in Debug build of slangc.exe (#4210)
f6b755dc Simplify test file names for slang-test (#4227)
9323095c CTS: stage some known failure tests for now (#4226)
eefdd4ab add support for callable shaders in gfx (#3460)
d9443d67 [gfx] metal backend skeleton (#4223)
4f1cbf6f Fix clang-18 build (#4222)
45cc7a18 If no sample is set with a `Texture(.*)MS[]` operation, set sample to 0. (#4225)
9553a7ce Fix pointer example (#4224)
ef6dd446 Fix pointers link in userguide (#4217)
8e549ee6 CTS: Report error when CTS fails (#4219)
a4cc5b07 Update vk-gl-cts-nightly.yml (#4214)
8e15bdc9 Fix all Clang-14 warnings (#4203)
52b5bb43 This commit increases the minimum CMake version from 3.20 to 3.25. (#4193)
e913cb95 Printing a timing of stdlib build time (#4190)
07c29d8b Emit execution mode of type per entry point once. Emit SPIRV capability once per shader program. (#4189)

v2024.1.17

20 May 04:21
62b7219
Compare
Choose a tag to compare
Slang v2024.1.17

Changes:

62b7219e Add `-minimum-slang-optimization` to favor compile time. (#4186)
40360431 SPIR-V support for GLSL texture functions (#4184)
0a5908dc Test binding index for combined and not-combined textures (#4180)
42b02482 Add warning about CMake version on CONTRIBUTION.md
9f786fdf capture/relay: Add capture interface classes (#4177)
000396cd ignore capability system skips the capability pass 100% now (#4183)
99ebb1a0 Update 03-convenience-features.md (#4179)
725735a8 RasterizerOrder resource for spirv and metal. (#4175)
0a618029 Fixes running examples from generated SLN (#4173)

v2024.1.16

16 May 07:06
1b89f78
Compare
Choose a tag to compare

1b89f78 Capabilities System, CapabilitySet Logic Overhaul (#4145)
3b0de8b Add diagnostic to prevent defining unsized variables. (#4168)
cc88530 Support combined textures for Metal target (#4169)
4edc72e Remove use of G0 and __target_intrinsic in stdlib. (#4170)
d76bed6 Implement texture functions for Metal target (#4158)
5ceb856 Fix CFG reversal logic for loops (#4162)
291b4cd Slang: Support UTF-8 with Byte Order Markers (#4135)
9ab24cf Propagate warning settings on Linkage to IR passes. (#4156)

v2024.1.15

14 May 07:23
487ae03
Compare
Choose a tag to compare

487ae03 Add LoadAligned and StoreAligned methods to ByteAddressBuffers (#4066)
9f23046 [gfx] specify resource view buffer range in bytes (#4149)

v2024.1.14

13 May 21:41
04d3dd5
Compare
Choose a tag to compare
Slang v2024.1.14

Changes:

04d3dd51 Update CONTRIBUTION.md
e0054151 add missing Result to IRayTracingCommandEncoder::bindPipline (#4148)
86a9da15 Fix race-condition and visual artifacts issues (#4152)
1dcd814f More Metal Intrinsics. (#4143)

v2024.1.13

10 May 09:51
926009a
Compare
Choose a tag to compare

926009a fix typo (#4144)
b446218 Add stdlib tests for clamp derivatives which also checks max and min derivatives (#4136)
bf088c3 Metal: propagate and specialize address space. (#4137)
526430a Support getAddress of a single-element vector swizzle. (#4138)
8e86121 Support [__ref] attribute to make this pass by reference. (#4139)
448e21a slangc tool experience improvements. (#4140)
756ce3d Fix legalization of kIROp_GetLegalizedSPIRVGlobalParamAddr. (#4141)
708345d Fix crash in obfuscation (#4134)
6d917a0 Fix NonUniformResourceIndex legalization for SPIRV. (#4133)
7514d0b Add github action to ensure PRs are labeled. (#4130)
93e5b71 [gfx] Cache mutable root shader object in Vulkan (#4119)
4f2330d capture/replay: interface implementation 1 (#4122)
eb39708 Make sure pointer local vars have AliasedPointer decoration. (#4132)
997f040 Support Metal math functions (#4118)
1b3a428 Support groupshared variables for Metal. (#4116)
618428a Delete wrap-global-context pass. (#4114)

v2024.1.12

04 May 05:16
2220d26
Compare
Choose a tag to compare
Slang v2024.1.12

Changes:

2220d26c Fix macos release script. (#4106)
7db3986e Fix mistake in WaveMatch intrinsic. (#4105)
59903ef7 Add host shared library target. (#4098)
54153a36 Don't bottleneck Wave intrinsics through `WaveMask*` for spirv. (#4099)
47a917c9 Fix `Ptr::__subscript` to accept any integer index. (#4100)
13250ffa Utilize vector operations over scalar if possible (#4092)
1863fe1d Support generic constraints that are dependent on another generic param. (#4091)
7ef980f7 Fix unzipping logic for inout non-diff parameters and adjust tests (#4090)
6b309575 Slang: update pointer related documentation (#4088)
c763750a Handle case where types can be used as their own `Differential` type. (#4057)
e5d49cf2 Allow multiple _AttributeTargets for attribute declaration (#4087)
f7d54af6 Fix fmod behavior targetting GLSL and SPIR-V (#4080)
679a4579 Implement SPIR-V target for GLSL functions (#4083)
d53d793d Fix reflection-test issue (#4082) (#4084)