Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kainino0x
Copy link
Contributor

@kainino0x kainino0x commented Sep 24, 2021

minBindingSize is never undefined (it defaults to 0), so this "if"
wasn't doing anything.


Preview | Diff

minBindingSize is never undefined (it defaults to 0), so this "if"
wasn't doing anything.
@github-actions
Copy link
Contributor

Previews, as seen when this build job started (3071215):
WebGPU | IDL
WGSL
Explainer

@kvark
Copy link
Contributor

kvark commented Sep 25, 2021

We had this discussion previously about whether to allow "0" default, or have an explicit signal that the value is not provided.
Let's find it and link to it here, so that we know the fix matches our previous decisions.

@kainino0x
Copy link
Contributor Author

I'm not sure how explicitly we made that decision, but that's what's already in the spec because minBindingSize defaults to 0 in the IDL. So regardless, in the current state of the spec, this is a no-op.
#678 (comment)

@kvark kvark merged commit c524adb into gpuweb:main Sep 28, 2021
github-actions bot added a commit that referenced this pull request Sep 28, 2021
SHA: c524adb
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Sep 28, 2021
SHA: c524adb
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Sep 28, 2021
SHA: c524adb
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants