summaryrefslogtreecommitdiffstats
path: root/docs/proposals
Commit message (Collapse)AuthorAge
* Remove the docs/proposals directory (#6313)Anders Leino2025-02-10
| | | | | | | | | | | | | | | | * Remove the docs/proposals directory This directory will get added to the spec repository in the following PR: https://github.com/shader-slang/spec/pull/6 This closes #6155. * Remove entry from .github/CODEOWNERS file * Redirect some proposal references --------- Co-authored-by: Yong He <yonghe@outlook.com>
* Support stage_switch. (#6311)Yong He2025-02-06
| | | | | | | | | * Support stage_switch. * Update proposal status. * Fix gl_InstanceID. * Fix.
* Allow tuples to work with initializer list. (#6301)Yong He2025-02-05
| | | | | * Allow tuples to work with initiailizer list. * Update definition of C-Style types.
* Add floating-point pack/unpack proposal (#6191)Darren Wihandi2025-02-05
| | | | | | | | | | | | | | | | | | | * add initial proposal * update proposal * update proposal * update proposal * update proposal * fix typo * improve wording --------- Co-authored-by: Yong He <yonghe@outlook.com>
* Feature/initialize list side branch (#6058)kaizhangNV2025-02-05
| | | | | | | | | | | | | | | | | | | | | | * SP004: implement initialize list translation to ctor - We synthesize a member-wise constructor for each struct follow the rules described in SP004. - Add logic to translate the initialize list to constructor invoke - Add cuda-host decoration for the synthesized constructor - Remove the default constructor when we have a valid member init constructor - Disable -zero-initialize option, will re-implement it in followup (#6109). - Fix the overload lookup issue When creating invoke expression for ctor, we need to call ResolveInvoke() to find us the best candidates, however the existing lookup logic could find us the base constructor for child struct, we should eliminate this case by providing the LookupOptions::IgnoreInheritance to lookup, this requires us to create a subcontext on SemanticsVisitor to indicate that we only want to use this option on looking the constructor. - Do not implicit initialize a struct that doesn't have explicit default constructor. Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
* Proposal for Cooperative Vector in Slang (#6209)Jay Kwak2025-01-28
|
* Add slangpy proposal (#6156)Yong He2025-01-28
| | | | | * Add slangpy proposal * Fix.
* Initial implementation of SP#015 `DescriptorHandle<T>`. (#6028)Yong He2025-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial implementation of `ResourcePtr<T>`. * Update docs * Fix build error. * Add more discussion. * Update documentation. * Update TOC. * Fix. * Fix. * Add test case for custom `getResourceFromBindlessHandle`. * Add namehint to generated descriptor heap param. * Fix. * Fix. * format code * Rename to `DescriptorHandle`, and add `T.Handle` alias. * Fix compiler error. * Fix. * Fix build. * Renames. * Fix documentation. * Documentation fix. --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
* `[[shader_record]] / [[push_constant]]` Param Annotations Proposal (#6053)Nathan V. Morrical2025-01-09
| | | | | | | * Add files via upload Adding first draft at proposal to disambiguate the use of uniform with ray tracing entry points. * Update and rename 000-shader-record.md to 017-shader-record.md
* Add `Bindless<T>` proposal. (#6002)Yong He2025-01-06
| | | | | | | | | * Add `Bindless<T>` proposal. * Clarify on what happesn if native bindless T has different size/alignment. * Add discussion on alternatives. * Update reviewer.
* Correct proposal number (#5809)Ellie Hermaszewska2024-12-10
| | | Co-authored-by: Yong He <yonghe@outlook.com>
* Extended vector proposal (#5734)Ellie Hermaszewska2024-12-05
| | | | | Closes https://github.com/shader-slang/slang/issues/5504 Co-authored-by: Yong He <yonghe@outlook.com>
* Add intrinsics for aligned load/store. (#5736)Yong He2024-12-03
| | | | | | | | | | | | | | | * Add intrinsics for aligned load/store. * Fix. * Update comment. * Implement aligned load/store as intrinsic_op. * Fix. * Add proposal doc. * fix typo.
* docs: Reduce typo count (#5671)Bruce Mitchener2024-11-29
| | | Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
* Proposal for a language version directive. (#5555)Theresa Foley2024-11-14
|
* Add design doc for write-only textures. (#5455)Yong He2024-10-30
| | | | | * Add design doc for write-only textures. * Minor tweaks.
* 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.
* Design proposal for initialization. (#5142)Yong He2024-09-27
| | | | | | | | | | | | | | | | | | | | | | | | | * Design proposal for initialization. * extension * QA * wording * Update design. * more revisions. * revise text. * rewording to be more accurate. * Fix wording and add explanation to examples. * clarify on zero initialization. * refine the rules and examples. * update status.
* Update 003-atomic-t.mdYong He2024-09-20
|
* Initial `Atomic<T>` type implementation. (#5125)Yong He2024-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial Atomic<T> type implementation. * Update design doc. * Fix. * Add test. * Fixes and add tests. * Fix WGSL. * Fix glsl. * Fix metal. * experiemnt with github metal. * experiment github metal 2 * github metal experiment 3 * experiment with github metal 4. * experiment with metal 5. * experiment 7. * metal experiment 8. * Fix metal tests. --------- Co-authored-by: Yong He <yhe@nvidia.com>
* Add design doc for atomic<T> type. (#5101)Yong He2024-09-19
| | | | | | | | | * Add design doc for atomic<T> type. * Update design doc. * Fix. * More comment on parameters.
* Add proposal for equality constraints (#5043)Theresa Foley2024-09-09
| | | | | This proposal builds on the other proposal for `where` clauses. Co-authored-by: Yong He <yonghe@outlook.com>
* Update 000-template.mdYong He2024-09-05
|
* Update 010-new-diff-type-system.mdYong He2024-09-05
|
* Update 007-variadic-generics.mdYong He2024-09-05
|
* Update 001-where-clauses.mdYong He2024-09-05
|
* Update proposal templateYong He2024-09-05
|
* Various documentation improvements. (#5017)Yong He2024-09-05
|
* Add language proposal for where clauses (#5015)Theresa Foley2024-09-05
| | | | | | This is meant to be a starting point, such that we can refine the proposal and the implementation in tandem until we are happy with both. Co-authored-by: Yong He <yonghe@outlook.com>
* Add structured binding propsoal. (#4953)Yong He2024-08-28
|
* Update `IFunc` proposal to reflect its implementation. (#4950)Yong He2024-08-28
|
* Proposal: A simpler and more flexible `IDifferentiable` system (#4865)Sai Praveen Bangaru2024-08-20
| | | | | Designed to work for both value types as well as ref/ptr/buffer types Co-authored-by: Yong He <yonghe@outlook.com>
* Tuple swizzling, concat, comparison and `countof`. (#4856)Yong He2024-08-19
| | | | | | | | | | | * Tuple swizzling and element access. * Update proposal status. * Cleanup. * Fix merrge error. * Address review.
* Variadic Generics Part 2: IR lowering and specialization. (#4849)Yong He2024-08-18
| | | | | | | | | * Variadic Generics Part 2: IR lowering and specialization. * Update design doc status. * Update design doc. * Resolve review comments.
* Design proposal: IFunc interface. (#4851)Yong He2024-08-16
| | | | | * Design proposal: IFunc interface. * fix code error.
* Design proposal for Tuple types. (#4848)Yong He2024-08-14
| | | | | * Design proposal for Tuple types. * formatting.
* Variadic Generics Part 1: parsing and type checking. (#4833)Yong He2024-08-14
|
* Design proposal for variadic generics (#4821)Yong He2024-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Design proposal for variadic generics * Update IR lowering section. * fix typo. * Fix error. * Fix typos. * fix typos. * typo fix. * update reviewers. * update implementation info. * update implementation info. * update pr link. * rewording. * more rewording. * grammar fix.
* Add a proposal for new AST/IR serialization (#4684)Theresa Foley2024-07-25
| | | | | | | This is intended to be a starting-point proposal/RFC document that will be discussed and iterated on to arrive at a POR that we can then use to create multiple bite-sized issues from. Co-authored-by: Yong He <yonghe@outlook.com>
* Update COM support doc to reflect implemented status (#4682)Shannon Woods2024-07-19
| | | Co-authored-by: Yong He <yonghe@outlook.com>
* Add clearer information about how to submit a proposal document. (#4514)Shannon Woods2024-07-01
| | | | Bug: 4511 Author: Shannon Woods
* Shader container proposal (#2387)jsmall-nvidia2022-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * WIP artifact container format. * WIP Artifact/shader cache document. * Some more thoughts around caching system. * Small improvements around source hash. * More improvements to container discussion. * Discussions about naming and combining options. * Small fixes to container format doc. * Small improvements around container doc. * Some more improvements to container doc. * First effort around API and container format. * More improvements around container doc. * First stab at a proposed approach. * Fix some typos. * Some other small improvements.
* More proposals (#2232)Theresa Foley2022-05-17
| | | Checking in more in-progress proposals in the hopes of sparking discussion and/or guiding future implementation work.
* Add design proposal for basic interfaces. (#2229)Theresa Foley2022-05-10
This change adds a `docs/proposals/` directory to give us a place to iterate on proposals for language/compiler features that are a bit too large to handle as issues. The first proposal I'm checking in here is a sketch of what our built-in numeric interfaces might want to look like. I do not propose that the design in the document is perfect or even *finished*. The goal here is to get things checked into source control to foster subsequent discussion and iteration.