Skip to content
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

Update max_bindings_per_bind_group from 640 to 1000 to reflect spec #3942

Merged
merged 2 commits into from Jul 20, 2023

Conversation

nical
Copy link
Contributor

@nical nical commented Jul 19, 2023

Checklist

  • Run cargo clippy.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Connections

Spec: https://gpuweb.github.io/gpuweb/#dom-supported-limits-maxbindingsperbindgroup
Changed around mid April gpuweb/gpuweb#4050

Description

This PR update max_bindings_per_bind_group from 640 to 1000 to reflect changes that happened in the spec since it was introduced.

Testing

This was caught by the WebGPU CTS in Firefox.

Copy link
Member

@ErichDonGubler ErichDonGubler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hadn't realized that this PR was up. I'll close #3943, which duplicates this work.

We should also update wgpu_types::Limits and its documentation. You can crib those changes from #3943, if you want.

Copy link
Member

@ErichDonGubler ErichDonGubler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Sorry for the overlap with #3943. 😅

@nical
Copy link
Contributor Author

nical commented Jul 20, 2023

LGTM! Sorry for the overlap with #3943. sweat_smile

No worries, I rebased this one on top of it to add the missing constant update in wgpu_types.

@cwfitzgerald cwfitzgerald merged commit 4ab9dbe into gfx-rs:trunk Jul 20, 2023
20 checks passed
@nical nical deleted the max-bind-idx branch July 20, 2023 14:12
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.

None yet

3 participants