Tags: KoT3isGood/slang
Tags
Slang v2024.14.5 === Breaking changes === f4d5aa7 Revert uint<->int implicit cast cost to prefer promotion to unsigned. (shader-slang#5480) === All changes for this release === 462584d Mark -embed-downstream-ir as experimental (shader-slang#5517) (shader-slang#5434:forward looking) 9ff6dd4 Correct category label positioning in hlsl.meta.slang (shader-slang#5515) 64c6cb1 Fix user-attribute-lookup wgpu crash (shader-slang#5510) 43df1da Enable a bunch of WGPU tests (shader-slang#5513) (shader-slang#5505:forward looking) d53a3ab Fix the logic bug in spirv-emit compile option (shader-slang#5512) 7c195d3 Fix CUDA prelude for makeMatrix (shader-slang#5509) 65de545 Fix the WGSL error about semantic when a nested struct is inlined (shader-slang#5506) 989847f Fix IntVal unification logic to insert type casts + buffer element lowering regression. (shader-slang#5508) (shader-slang#5262:forward looking) d9cb281 Document raytracing functions (shader-slang#5494) 2533125 Fix WGSL parameter block binding. (shader-slang#5500) (shader-slang#5222:forward looking) b867034 [WGSL] Enable arbitrary arrays in uniform buffers. (shader-slang#5497) (shader-slang#4985:forward looking) f829420 Make various parameters and return types require specialization when targeting WGSL (shader-slang#5483) (shader-slang#5228:forward looking) 79056cd Legalize the Entry-point for WGSL (shader-slang#5498) (shader-slang#5486:client exploration) 4fa76f3 Catch all exceptions in render-test (shader-slang#5495) e22c0b7 Fix system semantics of SV_GroupIndex (shader-slang#5496) (shader-slang#4940:forward looking) 0336a3a Fix issue of infinity float literal (shader-slang#5489) (shader-slang#5280:forward looking) fc7de92 Update slang-rhi and fix error handling (shader-slang#5485) b118451 Move switch statement bodies to their own lines (shader-slang#5493) 53dd592 Fixing the wrong implementation of some math intrinsic (shader-slang#5491) (shader-slang#5282:forward looking) 7c2ff54 Various WGSL fixes. (shader-slang#5490) (shader-slang#5289:forward looking) 2c8dacf Update user-guide top bar nav links. (shader-slang#5488) de56195 Add codeowners file (shader-slang#5482) 5f4980a Allow enum cases to be used in attribute arguments. (shader-slang#5478) (shader-slang#5477:client support) [BREAKING] f4d5aa7 Revert uint<->int implicit cast cost to prefer promotion to unsigned. (shader-slang#5480) 61cddbe Improve on spirv generation compile option (shader-slang#5479) b8d50b5 Enable a few more WGPU tests (shader-slang#5476) e1c3c4a Update Slang-RHI again to get more WGPU fixes (shader-slang#5475) (shader-slang#5222:forward looking) c044ec2 Update Slang-RHI to get recent WGPU fixes (shader-slang#5467) 07e45ad Add `lerp` for wgsl. (shader-slang#5472) 582d10d Add function of getting hash string to wasm binding (shader-slang#5468) 0f68de9 fix javascript error on doc layout. (shader-slang#5464) 1487a1f Constant-fold for the type-casting in switch-case labels (shader-slang#5436) a98fb6c Enhancements to diff script (shader-slang#5460) 90bde47 Find slangc in more places in doc generation script (shader-slang#5461) 28f20f4 Write only texture types. (shader-slang#5454) (shader-slang#5333:forward looking) feec3cf Add design doc for write-only textures. (shader-slang#5455) 368c2d6 Add google analytics. (shader-slang#5438) 521df4f Fix vs build (shader-slang#5452) 302e604 Correct formatting (shader-slang#5457) 10549e6 fix release script (shader-slang#5459) 22d1e34 format yaml and json (shader-slang#5428) 44dc5ea Put debug symbols in releases (shader-slang#5370) 613a29a Precompiled SPIR-V import support (shader-slang#5048) (shader-slang#4992:forward looking) 99c728f fix formatting issue (shader-slang#5432)
Increase slangc option visibility in docs (shader-slang#5425) * Increase slangc option visibility in docs Link to slangc command-line reference from readme. readme. Boost the visiblity of the link in the user-guide. Consolidates command-line-slangc.md into the user-guide. Fixes shader-slang#4124 * Update README.md * Update 08-compiling.md --------- Co-authored-by: Yong He <[email protected]>
Slang v2024.14.3 Changes: 46b8ab8 wasm: Add compile target option when creating slang session (shader-slang#5403) ee709cf Fix language server crash. (shader-slang#5395) 61aa670 declutter top level CMakeLists.txt (shader-slang#5391) fb50c03 Fix a few documentation typos (shader-slang#5396) a0bea07 Fix several bugs with `specializeWithArgTypes()` (shader-slang#5365) 5a161dd Document the interfaces in the core module (shader-slang#5374) 855833e Document bit operations (shader-slang#5373) fb16467 Document derivative core module functions (shader-slang#5369) 7ede8a4 Update update_spirv.md 7a22eac Update the document, `update_spirv.md` (shader-slang#5368) ba77578 Recognize a new spirv header json grammar keyword "aliases" (shader-slang#5367) 3e84726 Fix spirv codegen for pointer to empty structs. (shader-slang#5355) 20fa42e Stdlib documentation for Atomic, Optional, Tuple (shader-slang#5358) 0e8e8cb Add more doc for builtin interfaces. (shader-slang#5357) 563258c Fix UAV access for 3d texture mips (shader-slang#5363) 3b8efef Fix incorrect setting of array information for 1d texture arrays in D3D12 (shader-slang#5361) 6f9c608 Mark SPIRV artifact as non-executable. (shader-slang#5356) 307315a Properly check switch case. (shader-slang#5341) 9936178 Remove use of Variable Pointer capability. (shader-slang#5352) b2386f3 Make slang-llvm fetching and failure more robust (shader-slang#5346)
Slang v2024.14.2 Changes: f2b2db5 Update slang-rhi (shader-slang#5345) 2bcb87d Use `VariablePointersStorageBuffer` instead of `VariablePointer` spv … (shader-slang#5340) c7584b2 Remove sccache (shader-slang#5206)
Slang v2024.14.1 Changes: 12e891e Cleanup definition of `printf`. (shader-slang#5330) a618b8c Cleanup atomic intrinsics. (shader-slang#5324) 11e1eca Add 'findAndCheckEntryPoint' to wasm binding (shader-slang#5337) fa3287f update slang-rhi (shader-slang#5258) ee11a45 Fix D3D12Core.dll loading problem (shader-slang#5315) 2f7f48a Fix entrypoint naming in glsl backend. (shader-slang#5320) 2ee8981 Fix spirv debug info for pointer types. (shader-slang#5319) 9e32b00 Add docgen documentation. (shader-slang#5318) c97166a Fix type checking on generic extensions. (shader-slang#5316) 99a242e Squash redundant move warnings (shader-slang#5300) ba26c2d Add stdlib documentation for attributes and interfaces. (shader-slang#5297)
Slang v2024.14 Changes: 3e170c7 review and revise building instructions (shader-slang#5302) 66b1031 Move C interface from slang.h to slang-deprecated.h (shader-slang#5301) 9e3b036 Enable WebGPU tests in CI (shader-slang#5239) be42eee Lower minimum CMake version to 3.22 (shader-slang#5295) 456df23 Fix unexported spReflectionEntryPoint_GetFunction (shader-slang#5260) f857815 Misc build fixes. (shader-slang#5271) 5126d58 Fix release build failure (shader-slang#5285) 2e08f33 Fix assert when compiling an entrypoint that calls another entrypoint. (shader-slang#5268) e57736b Write out summary of documentation in docgen tool. (shader-slang#5266) 3b12b66 Fix race condition for building stdlib headers (shader-slang#5272) bba14dc beautify the readme support table (shader-slang#5265) e91e1d4 Restrict stdlib embed macros to single source file (shader-slang#5251) dfab34e Add slang-wasm target (shader-slang#5237) 5fa35fc WGSL: Enable load & store from byte-addressible buffers (shader-slang#5252) 0ff779b README: mention VulkanSDK in getting started. (shader-slang#5256) 466fb5b slang-test: retry failed test at the end. (shader-slang#5255) 80c1851 Fix links in stdlib reference category landing page. (shader-slang#5250) a7c5df6 Update README.md 611fa55 reword documentation around precompiled modules. (shader-slang#5249) 75481ea Support constant folding for static array access. (shader-slang#5248) b8aab84 Use user defined type name in glsl buffer declarations. (shader-slang#5242) 1bbc421 Fix precompiled glsl modules (shader-slang#5230) 8b2bd3c Metal: Texture write fix (shader-slang#4952) ac6f04c Fix spirv lowering logic around pointer to unsized array. (shader-slang#5243) bea1394 Fix bug related to findAndCheckEntrypoint. (shader-slang#5241) 132111a Fix build for clang-14 (shader-slang#5235) c42a9fa Overhaul docgen tool and setup CI to generate stdlib reference. (shader-slang#5232) 50f44c1 Look through attributes and rates when determining by reference initialization (shader-slang#5023) 842dee3 WGSL emitter: Specify private address space for global non-handle variable declarations (shader-slang#5236) 3de8afe update slang-rhi (shader-slang#5234) 509409e Add WGSL support for slang-test (shader-slang#5174) ff51c21 Refactor the code for synthesizing the body of constructor (shader-slang#5231) 82c05f4 update slang-rhi (shader-slang#5208) f521c20 Add interfaces for retrieving separate linkable downstream binaries (shader-slang#5128) 25c17b9 Allow building using external dependencies (shader-slang#5076) 9f246a4 Support custom derivatives of member functions of differentiable types (shader-slang#5124) aa64c85 Checkout LLVM as a workflow action rather than git-clone command (shader-slang#5202) 74bdd03 Add path to bash to GITHUB_PATH (shader-slang#5217) a11a776 Fix the broken CI (shader-slang#5216) 7ce7bb3 Fix crash when compiling associatedtypes with generic interface constraints. (shader-slang#5200) c6427e3 SizeOfLikeExpr has type int (shader-slang#5205) e2e624b Enable debug log for VK CTS workflow (shader-slang#5197) 81c015e Fix diagnostics for [PreferRecompute] (shader-slang#5159) a5d67ad Disable the building of slang-llvm when targeting wasm platform (shader-slang#5196) 15d1c6c Add COM API for querying metadata. (shader-slang#5168) bc11579 Update slang-rhi (shader-slang#5187) 59168f4 Switch sccache action to Mozilla-Actions version (shader-slang#5189) ebee786 Add compile_commands.json to .gitignore (shader-slang#5169)
Disable wgpu on linux (shader-slang#5186) * remove setting CMAKE_SYSTEM_PROCESSOR we will need a proper toolchain file to setup cross-compilation * disable slang-rhi webgpu backend on linux this is a temporary fix for allowing the release workflow to run
Remove includes of glslang private headers (shader-slang#5059)
Git-ignore VIM temporary files (shader-slang#5047) Following git-ignore rules are added to ignore VIM temporary files: - *~: Ignores all files ending with a tilde (~), which are Vim's backup files. - .*.swp: Ignores Vim swap files, which have .swp extension. - .*.swo: Ignores Vim swap files created when a .swp file already exists. Co-authored-by: Yong He <[email protected]>
Slang v2024.11 This release brings SPIRV specialization constants, `where` clause, type equality constraints, and tightened up Slang's language support for interface extensions, along with serveral SPIRV and language server fixes. The compilation API and slangc now supports identifying entrypoints defined in namespaces or structs. Extensions on interface types are no longer allowed: ``` interface IFoo { ... } extension IFoo {} ``` The original `extension IFoo` syntax is replaced by more proper generic syntax: ``` extension<T:IFoo> T {} ``` f929b42 Fix doc build errors. (shader-slang#5018) 5f1ba7b Various documentation improvements. (shader-slang#5017) 3136771 Initial -embed-spirv support (shader-slang#4974) 33e8bfd Fix SPIRV SV_TessFactor type adaptation logic. (shader-slang#5010) 879ee3d Support entrypoints defined in a namespace. (shader-slang#5011) a3b25ce Add language proposal for where clauses (shader-slang#5015) e5ead40 Fix invalid documentsymbol error in langauge server. (shader-slang#5012) 77ecad2 Fix spirv emit for global pointer variable. (shader-slang#5009) d655302 Support `where` clause and type equality constraint. (shader-slang#4986) a88055c Respect matrix layout in uniform and in/out parameters for HLSL target. (shader-slang#5013) 959f55d Remove unused package in primary benchmark script (shader-slang#5014) d4aeb18 Document All Capability Atoms and Profiles (shader-slang#5008) 65dd3b7 Add Documentation For Auto-Generated Constructors & Initializer Lists (shader-slang#4988) a7e9119 Preserve name in DeclRefExpr for correct highlighitng of `This`. (shader-slang#4980) dc3f2d6 Fix resource specialization with `-embed-dxil` (shader-slang#4990) 599dae5 Open existential on arguments after overload resolution. (shader-slang#4982) ddd2905 Fix extension override behavior, and disallow extension on interface types. (shader-slang#4977) 56a3c02 Push benchmark results to a viewable page (shader-slang#4996) 1673cf9 Add Path::removeNonEmpty() to remove non-empty dir (shader-slang#4984)
PreviousNext