summaryrefslogtreecommitdiffstats
path: root/docs/language-reference
Commit message (Collapse)AuthorAge
* Document matrix multiplication operators (#6852)Jay Kwak2025-04-19
| | | | | | | | | | | | | | | * Document matrix multiplication operators This is to address one of cases where a user was confused about why Slang doesn't have operator overloading of multiplication for matrices. It is little confusing that glsl.meta.slang implemented `operator*()` for matrices but Slang/HLSL doesn't. It turned out that HLSL/Slang performs a component-wise multiplication with `operator*()` whereas GLSL performs a matrix multiplication. * Mentioning CUDA * Update based on the review feedback
* docs: Reduce typo count (#5671)Bruce Mitchener2024-11-29
| | | Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
* Swap the term StdLib with Core-Module or Standard-Module in documents (#5414)Jay Kwak2024-10-25
| | | | This PR is limited to documents. All use of "Standard library" or "StdLib" are replaced with either "core module" or "standard modules", depending on the context.
* Add skeleton of a language reference. (#4808)Theresa Foley2024-08-22
| | | | | | | | | | The files being checked in here were initially written 2-3 years ago. They are very clearly incomplete, outdated and, quite often, inaccurate. The intention of this change is to get an initial skeleton in place for the large-scale structure of a language reference (for now avoiding the term "specification" and all the weight it carries). Future commits should be able to add to flesh out this skeleton and start to make the document more complete and more accurate.
* Delete out of date docs (#3926)Yong He2024-04-10
|
* Support for `[[vk::spirv_instruction(op)]]` (#2242)jsmall-nvidia2022-05-18
| | | | | | | | | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Add extension required by SPIRVOpDecoration into part of emit (could be a prior pass). * Add [[vk::spirv_instruction]] attribute * Add documentation for [[vk::spirv_instruction]. * Update 08-attributes.md * Update 08-attributes.md
* Small doc improvement around 8/16 bit types. (#2180)jsmall-nvidia2022-04-12
| | | | | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Added information of 8 and 16 bit types. * Link to target compatibility. * Updated 8-bit support added via #2182
* Hotfix/doc typo5 (#2070)jsmall-nvidia2021-12-22
| | | | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Fix typos in introduction and conventional features. * Struct inheritance is allowed. Fix some typos.
* Hotfix/doc typos3 (#2065)jsmall-nvidia2021-12-20
| | | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Fix typos in docs. * Fix some typos.
* Hotfix/doc typos2 (#2064)jsmall-nvidia2021-12-20
| | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Fix typos in docs.
* Hotfix/doc typos (#2063)jsmall-nvidia2021-12-20
| | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Typos in 07-declarations.md
* Hotfix/doc typo lexical (#1696)jsmall-nvidia2021-02-08
| | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Fix typo
* First pass at a language reference (#1279)Tim Foley2020-03-18
* First pass at a language reference We already had the `language-guide.md` document under `docs/`, but this is an attempt to introduce a more full-featured reference to the Slang language and its features. Right now it is mostly focused on the syntax and what the language allows to be declared, and it is a little light on semantic details throughout (mostly relying on familiarity with C to explain the things that are left unsaid). Even so, this hopefully provides a starting point to continue adding more detail. * typos and other small fixes