You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I've tried numerous times to make the [[]vk::]] attributes depend on a template parameter or some other const expression, each time I thought its a general C++/Clang limitation.
I'm not sure this is the link you intended to use as it demonstrates it working correctly in a C++ example. Given that there is some variability in this support, it would be useful to see which attributes are failing in the cases of interest.
Is your feature request related to a problem? Please describe.
I've tried numerous times to make the
[[]vk::]]
attributes depend on a template parameter or some other const expression, each time I thought its a general C++/Clang limitation.#6541
#6584
Theres a few other issues I can't find right now which also showcased attempts at putting constant expressions into attributes.
But turns out its not: https://godbolt.org/z/he94bcGfr
Describe the solution you'd like
Being able to specify attribute arguments/parameters from constexpr (
static const
) variables and enums.Describe alternatives you've considered
Nothing
Additional context
None
The text was updated successfully, but these errors were encountered: