Sitelet https://github.com/gpuweb/gpuweb/pull/2141
Skip to content

Remove no-op minBindingSize text - #2141

Merged
kvark merged 1 commit into
gpuweb:mainfrom
kainino0x:minbindingsize
Sep 28, 2021
Merged

kvark merged 1 commit into
gpuweb:mainfrom
kainino0x:minbindingsize

Conversation

@kainino0x

@kainino0x kainino0x commented Sep 24, 2021 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@kvark

kvark commented Sep 25, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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