summaryrefslogtreecommitdiffstats
path: root/tests/reflection/attribute.slang
Commit message (Collapse)AuthorAge
* Fix User Attribute string reflection (#6799)Devon2025-04-14
| | | | | | | | | | | * Fix User Attribute string reflection Fixes #6794 * Fix strings not being properly escaped --------- Co-authored-by: Darren Wihandi <65404740+fairywreath@users.noreply.github.com> Co-authored-by: Yong He <yonghe@outlook.com>
* Add userAttribs to entryPoints in reflection JSON (#6366)David A Roberts2025-02-19
|
* Allow multiple _AttributeTargets for attribute declaration (#4087)kaizhangNV2024-05-02
| | | | | | | | | | | | | | | The syntax like: [__AttributeUsage(_AttributeTargets.Var)] [__AttributeUsage(_AttributeTargets.Param)] struct DefaultValueAttribute { int iParam; }; is allowed. For user-defined attribute, we can specify more attribute targets on the attribute declaration. So one attribute can be used in more than one situations.
* Fix reflection-test issue (#4082) (#4084)kaizhangNV2024-05-02
| | | | | The reflection test doesn't print the user attributes decorating for the variables, only types. Therefore, add the print for user attributes of variables.
* Support for querying which parameters are used in emitted code (#2239)Alexey Panteleev2022-05-18
| | | See https://github.com/shader-slang/slang/issues/2213
* Add underscores to `AttributeUsage` to signal its preview state.Yong He2019-01-29
|
* Add support for user defined attributes.Yong He2019-01-29