summaryrefslogtreecommitdiff
path: root/tests/reflection/attribute.slang
AgeCommit message (Collapse)Author
2025-04-14Fix User Attribute string reflection (#6799)Devon
* 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>
2025-02-19Add userAttribs to entryPoints in reflection JSON (#6366)David A Roberts
2024-05-02Allow multiple _AttributeTargets for attribute declaration (#4087)kaizhangNV
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.
2024-05-02Fix reflection-test issue (#4082) (#4084)kaizhangNV
The reflection test doesn't print the user attributes decorating for the variables, only types. Therefore, add the print for user attributes of variables.
2022-05-18Support for querying which parameters are used in emitted code (#2239)Alexey Panteleev
See https://github.com/shader-slang/slang/issues/2213
2019-01-29Add underscores to `AttributeUsage` to signal its preview state.Yong He
2019-01-29Add support for user defined attributes.Yong He