-
Notifications
You must be signed in to change notification settings - Fork 353
Add predeclared short names for vector types #3291
New issue
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
Conversation
wgsl/index.bs
Outdated
|
|
||
| <table class='data'> | ||
| <thead> | ||
| <tr><th>Type<th>Predeclared alias<th>Restrictions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest swapping the first two columns.
I'd also suggest condensing the number of rows by leaving N unspecified. We don't list vec2, vec3, vec4 individually above. Then add an example, which is probably deserved anyways.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd also suggest condensing the number of rows by leaving N unspecified.
Both @dj2 and @jimblandy like the explicitness. I like the explicitness because it makes it easier to search and find.
|
Previews, as seen when this build job started (ca28d8e): |
|
@dneto0 the PR is great but needs to be updated with upstream I think |
|
Thanks! |
Fixes: #736