Releases: shader-slang/slang
v2024.1.20
89c1fd0d Fix performance issue in source-map (#4261) 68bf31e5 Add an option to disable source map in obfuscation (#4260)
v2024.1.19
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
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
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
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
v2024.1.14
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
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
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)
v2024.1.11
b490414 Delete out-of-date assert. (#4079)
436b22f Fix/replace target intrinsic to target switch part 2 (#4058)
08de73a Copy default target's optionSet to code-gen target's optionSet (#4073)
9043bc5 Fix compile failures when using debug symbol. (#4069)
0bb826f SPIRV: Fix performance issue when handling large arrays. (#4064)
4533c82 SPIRV: Fix storage class for unwrapped pointers (#4068)
853987d Add ParamDecl as the attribute target (#4067)
ca62ec2 Adds functionality to dump IR to stdout (#4065)
2abd5bd Avoid classifying methods with [numthreads]
as entry points for CUDA-related targets (#4063)
52b9123 Added diagnostics & built-in type lowering for [CUDAKernel]
functions (#4042)
70111da Generate vectorized version of byteaddress load/store methods (#4036)
95ca2aa Change stdlib to not depend on short-circuit (#4056)
492f56e Add option -disable-short-circuit (#4054)
f1221b8 Metal: Vertex/Fragment builtin and layouts. (#4044)
019d68f Replace __target_intrinsics and __specialize_for_target, part 1 (#4050)
1a40819 Do not mangle the name of identifiers when __extern_cpp is added (#4052)
30b82ab Add variable pointers to render-test-vk and a related failing test-case (#4041)
2b87c00 Fix invoke resolution when dealing with overloded type expressions (#4043)
e91bd3b WIP: Force Inline If RefType (#4005)
bc7231b Fix unpackUnorm4x8 and unpackSnorm4x8 (#4033)
ed06811 Keep const-ness in generic functions (#4028)
366a947 Support derivative functions in compute & capabilities adjustments (#4014)