Skip to content

Releases: shader-slang/slang

v2024.1.22

13 Jun 07:34
c00f461
Compare
Choose a tag to compare
c00f461a remove inline that crashes old glibc version (#4398)
fdef653a Improve Direct SPIRV Backend Test Coverage (#4396)
33e81a03 [Metal] Fix global constant array emit. (#4392)
a38a4fb2 Make unknown attributes a warning instead of an error. (#4391)
a210091c [Metal] Support SV_TargetN. (#4390)
2cc96907 Implement for metal `SV_GroupIndex` (#4385)
a6b8348f fix the clang/gcc warning (#4382)
cfef0c6f Metal: misc fixes and enable more tests. (#4374)
2407966e SPIR-V `SV_InstanceId` support in pixel shader (#4368)
fba316f0 Remove `IRHLSLExportDecoration` and `IRKeepAliveDecoration` for non-CUDA/Torch targets (#4364)
f0d40ad5 (origin/master, origin/HEAD, master) capture/replay: implement infrastructure for capture (#4372)
ecc6ecb3 Fix cuda/cpp/metal crash for when using GLSL style shader inputs (#4378)
0bf0bf77 Implement Sampler2D for CPP target (#4371)
b970b88b Enable full test on macos. (#4327)
0574dca9 Delete glsl_vulkan and glsl_vulkan_one_desc targets. (#4361)    
085d1a60 Fix emit logic for getElementPtr. (#4362)
8813c610 Capability System: Implicit capability upgrade warning/error (#4241)
7447fcaf Add constant folding for % operator. (#4359)
8bf7d112 Fix merge error. (#4358)
b7e82434 Add slangc flag to `-zero-initialize` all variables (#3987)     
ccc26c2d Extend the COM-based API to support whole program compilation. (#4355)
318adcc2 Add compiler option to treat enum types as unscoped. (#4354)    
ec35febb Fix incorrect drop of decoration when translating glsl global var to entrypoint param. (#4353)
c194af81 Fix crash on invalid entrypoint varying parameter. (#4349)      
7a4757d2 Implicit register binding for hlsl to non-hlsl targets (#4338)  
180d6b13 Fix duplicate SPIRV decorations. (#4346)
fa8c11eb Add option to preserve shader parameter declaration in output SPIRV. (#4344)
3fe4a772 Fix crash when using optional type in a generic. (#4341)        
5da06d43 Fix global value inlining for spirv_asm blocks. (#4339)
7e796692 [gfx] Metal improvements (#4337)
6909d65c SPIRV backend: add support for tessellation stages, (#4336)     
ef20d930 Test more texture types in Metal (#4333)
5a289681 [gfx] Metal texture fixes (#4331)
df0a201d Support integer typed textures for GLSL (#4329)
51d35854 Remove duplicate `VkPhysicalDeviceComputeShaderDerivativesFeaturesNV` extension structure in vk-api.h (#4335)
6d5ef9b6 Fix `GetAttributeAtVertex` for spirv and glsl targets. (#4334)  
21bbebb1 Address glslang ordering requirments for 'derivative_group_*NV' (#4323)
72016f92 Partial implementation of static_assert (#4294)
712ce653 enable more metal tests (#4326)
38c0bacc Fix SPIRV emit for `Flat` decoration and TessLevel builtin. (#4318)
b5cdd832 Support all integer typed indices in StructuredBuffer Load/Store/[]. (#4311)
6857dd57 [gfx] Metal graphics support (#4324)
0974463d Fix typos in the docs (#4322)
9a23a9aa SPIRV `Block` decoration fixes. (#4303)
bc680e74 Add initial draft auto-diff basics and IR overview documents (#4216)
ee812d18 Disallow certain types of decls in `interface` to provide better diagnostic message. (#4312)
65928afe Metal system value overhaul. (#4308)
e39ceab5 Adding functional test for GLSL texture functions (#4306)       
2a45bc31 Support HLSL `.mips` syntax. (#4310)
056a4b94 Small SPIRV emit cleanup around vector element extract. (#4309) 
f83fe55a Make CTS failure report more obvious (#4302)
78d34f3b Improve documentation and example formatting consistency (#4299)
7c6faf62 Precompute UIntSet from individual capabilities inside generator (#4269)
004fe27a Metal compute tests (#4292)
72f10a8c Fixed profile string per request in pr#4268 (#4297)
a709e029 Update capability-generator-main.cpp (#4295)
d301267c Typo in 06-interfaces-generics.md (#4284)
fa664d14 Fix build warnings and treat warnings as error on CI (#4276)    
f1490526 Remove unnecessary call to __requireComputeDerivative (#4283)

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)