-
Notifications
You must be signed in to change notification settings - Fork 353
Add description for minBufferBindingSize in BindGroupLayout #919
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
Add description for minBufferBindingSize in BindGroupLayout #919
Conversation
|
A tiny change to make bind group layout description complete, because we have already described every other parameter but not this one. |
spec/index.bs
Outdated
| {{GPUBindingType/"uniform-buffer"}}, | ||
| {{GPUBindingType/"storage-buffer"}}, or | ||
| {{GPUBindingType/"readonly-storage-buffer"}}, | ||
| this indicates the minimum buffer binding size. |
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.
this is still optional for these types, maybe we can reword it "this *may* contain the minimum buffer binding size?
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.
Then I want to change "this contains" to "this may contain" for "hasDynamicOffset" and "multisampled" too, in order to make them consistent (at least within BindGroupLayout). Does this sound good? @kvark
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.
No. hasDynamicOffset and multisampled are always applicable to the relevant binding types. At the same time, minBufferBindingSize is optional.
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.
OK. Done. Thank you, @kvark
a43a1b4 to
0803591
Compare
The changes to check for exceptions being thrown in gpuweb#1529 should only apply to cases where we are testing for an required feature being enabled. The updates to createBindGroupLayout.spec.ts were unnecessary and have started causing failures. FYI @Gyuyoung Issue: gpuweb#919
Preview | Diff