We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numeric parameters to attributes are specified as either positive i32 literal or non-negative i32 literal.
positive i32 literal
non-negative i32 literal
Instead of saying i32 literal, they should be i32 creation-time expression.
i32 literal
i32 creation-time expression
This would allow things like:
const block_size = 16; @compute @workgroup_size(block_size) fn foo(...) { ... }
The text was updated successfully, but these errors were encountered:
I think this was intended but didn't make it into the constant-time expr spec update.
Sorry, something went wrong.
Dupe of #2790
Valid Values
No branches or pull requests
Numeric parameters to attributes are specified as either
positive i32 literal
ornon-negative i32 literal
.Instead of saying
i32 literal
, they should bei32 creation-time expression
.This would allow things like:
The text was updated successfully, but these errors were encountered: