Skip to content

Releases: shader-slang/slang

v2024.1.21.1

01 Jul 03:26
Compare
Choose a tag to compare
Changes since v2024.1.21

edb9de81 Enable upload asset for old glibc build (#4501)
b141099d Switch from ubuntu-18 to centos-7 for older glibc build (#4496)

v2024.1.25

29 Jun 03:21
048c5c3
Compare
Choose a tag to compare
048c5c32 Adding a note about the keyword, class. (#4503)
ea4ebe39 Nested initialization list in struct crash fix (#4491)
0b519022 fix `WorkgroupSize()` compiler failiure (#4505)
e49419b0 Implement HLSL resource bindings and default type `float4` to `SubpassInput<T>` (#4462)
fd32b187 Update the coding convention document. (#4498)

v2024.1.24

27 Jun 21:57
323fdff
Compare
Choose a tag to compare
323fdff4 Enable upload asset for old glibc build (#4501)
f5acb6b9 Extend `countbits` intrinsic for vector types (#4499)
8172751f Switch from ubuntu-18 to centos-7 for older glibc build (#4496)
b1f564b0 Include examples in default build (#4482)
5dd8f294 Cache address-space-legalization of `kIROp_Store` (#4480)

v2024.1.23

27 Jun 15:51
cb61011
Compare
Choose a tag to compare
cb610113 Add API for querying dependency files on IModule (#4493)
1d4db422 Ray tracing validation (#4418)
7751963f Implement `uint2` variant of `asdouble` intrinsic (#4488)
4dd41de7 Remove returned-array-legalization pass for metal (#4478)
de454b0e Fix Texture2DMSArray (#4485)
e1d0ef20 Expand upon existing `ImageSubscript` support (Metal, GLSL, SPIRV) (#4408)
969dd4cc Support atomic intrinsics for Metal (#4473)
63e0064b Fix return type address space checking. (#4465)
e2b56d01 Add intrinsic for `IsHelperLane()` in HLSL (#4471)
8d2f6e4d Add case to `emitVectorReshape` for when using a `vector<M, N>` type with `T` value (#4419)
d832e335 Added float2x2 cast to float4 (and vise versa) (#4432)
cf8d1cef Implementing `tbuffer` layout(s) (#4436)
d349fd9e Add capture logic to other interfaces. (#4412)
c3c1cb67 Disambiguate int type matrix multiply (#4425)
8c778870 Metal: Implement fix for non vector4 texture Load/Sample (#4417)
93fcb83c Feature/capture (#4397)
f6b3ba88 Fixed gl_LocalInvocationIndex being uvec3 instead of uint (#4403)
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 capture/replay: implement infrastructure for capture (#4372)
ecc6ecb3 Fix cuda/cpp/metal crash for when using GLSL style shader inputs (#4378)

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)