Skip to content

Releases: shader-slang/slang

v2023.2.0

15 Aug 01:29
b05b126
Compare
Choose a tag to compare
Slang v2023.2.0

Changes:

b05b126e Update target-deps.json (#3103)
661d6198 Support per field matrix layout (#3101)
0403e055 Fix issue with nested loop unrolling (#3100)
e689d5ee Make sure glsl source in spirv is included when compiling with -g3 (#3099)
37223160 Add scalar version of `distance`. (#3096)
7691128c Upgrade to glslang 12.3.1 (#3095)
756fdb45 Fix `Texture2D.Load()` with offset. (#3094)
38b0af35 Add support for ConstBufferPointer on Vulkan. (#3089)
60ebadab Allow member lookup through modified type. (#3091)
d4e72a93 Support nested structs in function bodies. (#3078)
f875d3f5 Support implciit casted swizzled lvalue. (#3077)
03a5bb4b Various fixes in GLSL emit. (#3074)
c4615fe0 Clean up and improve Val deduplication performance. (#3069)
793a29af Set Full GPU CI timeout to 100 minutes. (#3070)
ea1f1653 Support `-fvk-use-gl-layout` for ByteAddressBuffer load/store. (#3068)
0b2d7533 Add warning on mutation of function parameter (#3067)
97dccb4c Add spirv-dis as a downstream compiler (#3059)
43e0fba1 Default target intrinsic should not apply to SPIR-V (#3054)
ae1c9d98 Fix -fvk-use-entrypoint-name. (#3066)
3a962404 Validate generated SPIR-V on output (#3061)
0e28cd02 Unify Type and Constant sections for SPIR-V (#3057)
03c6cda7 Casting and vector/scalar correct arithmetic ops for SPIR-V (#3056)
0d803a4c Add missing header in slang-glslang (#3055)
10b2038a Diagnostic improvements for direct spirv (#3053)
9eb6a842 Fix `Val` deduplication bug. (#3050)
9ef9cc00 Add missing empty case to Array::makeArray (#3058)
dceb1a74 Allow parsing some SPIR-V enums in intrinsics (#3062)
547ea5cc Simplify SpvTypeInstKey (#3063)
846286bc sv_groupindex support for spirv (#3060)
550396fd Fail on an unhandled spv operand (#3052)
0f57c46a Correct return type for emitFieldAddress (#3051)
856086cf Add option to use original entrypoint in spirv output. (#3047)
a2d90fb2 Redesign `DeclRef` and systematic `Val` deduplication (#3049)
17da4f0d Added D3D12 RenderTargetView TextureCube case (#3048)
77347979 Fix around texture footprint support for NVAPI. (#3046)
aadd816a Disable code motion for expensive insts (call & div) (#3042)
0dcae1c6 Only define atomics for `float2` and `float4` when CUDA arch<900 (#3041)
e80cd4f1 Add mailmap (#3043)
16537317 Fix literals needing cast (#3039)
edcc50cd Update footprint-queries.md
c34a7b66 Generalize collectInductionValues (#3031)
53492410 Fix for #elif evaluation issue (#3038)
8bfdc392 Fix push constant on global variables. (#3034)
04f72443 Fix -fvk-u-shift not applying to global constant buffer. (#3033)
c1216cae Include NonSemanticDebugInfo when calling glslang (#3030)
ba89fc84 Refactor `dmul(This, Differential)` to `dmul<T:Real>(T, Differential)` (#3029)
b8ade05d Fix scalar swizzle causes invalid glsl output.  (#3028)
727245a6 Fix -fvk-u-shift not applying to RWStructuredBuffer on glsl output. (#3027)
7b48b24b Add glsl intrinsics for CalculateLevelOfDetail (#3023)
c61775e6 Add GatherCmp* for texture objects (#3024)
d47d5492 Add slang.natjmc. (#3018)
de3c1b27 Allow parsing more than 10 intrinsic arguments (#3014)
3f64f639 Remove [__readNone] on clip. (#3016)

v2023.1.1

21 Jul 22:49
2d4cd99
Compare
Choose a tag to compare
Slang v2023.1.1

Changes:

2d4cd997 Don't error on disabled warnings when treatWarnAsErr. (#3013)
0e478443 Add support for `-fvk-invert-y`. (#3012)
82508d87 Add sampleCount parameter for read-only textures. (#3011)
b40b711f Fix data-flow analysis not propagating diff property through differentiable calls (#3010)
32043a48 Better handling of bindings with multiple resource kind "aliases" for GLSL emit (#3009)
e0a856b8 Fix issue with loop elimination not working on certain side-effect-free loops (#3005)
c7c49347 Fix for vk-shift-* GLSL emit issue (#3004)
76fe0a1d Add linux arm64 self-hosted CI. (#3003)

v2023.1.0

19 Jul 23:46
b959836
Compare
Choose a tag to compare
Slang v2023.1.0

Changes:

b9598364 Limit CPU cores when running MSBuild CI (#3002)
3509059c Add `sampleCount` parameter for MS textures. (#3001)
a5987aad Support for vk-shift-* without explicit bindings (#3000)
1cfb1c85 Optimize specialization, and remove unnecessary calls to `simplifyIR`. (#2999)
1fe5e83f nsight Aftermath crash example (#2984)
4cb3eeb8 Simplify Lookup and improve compiler performance. (#2996)
138a44ef Fix vk-shift-* mapping issue (#2993)
3e4fe2f6 Add section on slangpy specialization (#2991)
1b778811 Avoid implicit casts or device transfers. (#2992)
2de296ca Allow setting of HLSLToVulkan options without having a target specified on the command line options. (#2989)
68f80f07 Robustness fixes around reverse-mode differentiation of variables & inout parameters (#2985)
2fa2c97d Run spell-check on autodiff and slangpy docs (#2990)

v2023.0.6

13 Jul 03:07
f3aba25
Compare
Choose a tag to compare
Slang v2023.0.6

Changes:

f3aba255 Pool inst worklists and hashsets to avoid rehashing. (#2982)
98ba936e Create and cache flattened inheritance lists (#2740)
261b2f1f Use scratchData on `IRInst` to replace HashSets. (#2978)
bbd9c2e6 Extend `no_diff` to support subscript operations on resources and array variables… (#2981)
4ed3aafa Fix native string emit for CUDA/Cpp backend. (#2980)
39b7df94 Update autodiff documentation. (#2979)

v2023.0.5

11 Jul 18:58
d0901aa
Compare
Choose a tag to compare
Slang 2023.0.5

Changes in this release:
* Add support for texture footprint queries (#2970)

v2023.0.4

10 Jul 19:43
Compare
Choose a tag to compare
Slang v2023.0.4

Changes:

0c479a61 Add a test case.
159693a7 Fix a bug involving specialization of functon type.
c099ef42 Fix hit object emit for HLSL.
cb9eb58d Rename Self-Hosted CI config. (#2972)
5e02f614 Test self-hosted runner (#2971)
643aaa13 Make DeclRefBase a Val, and DeclRef<T> a helper class. (#2967)
fb6605c2 Do not use member function of incomplete SemanticsVisitor (#2968)
cdfea42f Fix erroneous error claiming variable is being used before its declaration (#2958)
4a88139a Add support for length for scalar floating point types. (#2965)
946a1b29 Work around for NonUniformResourceIndex with non integral types. (#2963)
b9ac4ace Assert on some resource creation in render-test-main (#2957)
6c7120d6 Bottleneck DeclRef creation through ASTBuilder. (#2689)
6063304c Squash some warnings (#2956)
93948b56 Disable l-value coercion for ref types (#2960)
69450a2b Initial sizeof/alignof implementation. (#2954)
f9b73eab Refactor "meta" decls for stdlib texture types (#2932)
ae427381 Non-Recursive CFG DFS. (#2953)
c5b0708e Fix for operator assignment issue (#2951)

v2023.0.3

30 Jun 00:57
a3ad4dd
Compare
Choose a tag to compare
Slang v2023.0.3

Changes:

a3ad4dd7 Issue diagnostic for incorrect parameter types & directionality when defining custom derivatives (#2947)
8f269e5f Apply SCCP on global scope before unrolling loops. (#2952)

v2023.0.2

29 Jun 21:41
47d0e8a
Compare
Choose a tag to compare
Slang v2023.0.2

Changes:

47d0e8ab Small fixes to GLSL-legalize and func-property prop. (#2950)
7f0c27a5 Fix handling result codes in D3D12 resource creation calls (#2949)
dccc9091 Warn on semicolon after `if`. (#2948)

v2023.0.1

28 Jun 23:27
b45e5aa
Compare
Choose a tag to compare
Slang v2023.0.1

Changes:

b45e5aa0 Fix parameter block loads in GLSL emit. (#2946)
97963c5c Add support for vk::image_format attribute (#2945)
9ddbea31 Support for infinite literal of from 34.2432#INF (#2944)
1b01ff90 Pointer layout support (#2930)

v2023.0.0

26 Jun 23:13
4c9e4de
Compare
Choose a tag to compare
Slang v2023.0.0

Changes:

Releasing v0.28.3 as v2023.0.0