Skip to content

Conversation

@Richard-Yunchao
Copy link

@Richard-Yunchao Richard-Yunchao commented Jul 13, 2020

@Richard-Yunchao
Copy link
Author

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.
Copy link
Contributor

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?

Copy link
Author

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

Copy link
Contributor

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.

Copy link
Author

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

@Richard-Yunchao Richard-Yunchao force-pushed the add-description-for-minBufferBindingSize-in-BGL branch from a43a1b4 to 0803591 Compare July 13, 2020 17:23
@kainino0x kainino0x merged commit 0f27d0d into gpuweb:main Jul 13, 2020
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
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
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.

4 participants