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

WebGPURenderer: Fix binding size #25072

Merged
merged 1 commit into from
Dec 4, 2022
Merged

WebGPURenderer: Fix binding size #25072

merged 1 commit into from
Dec 4, 2022

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Dec 4, 2022

Description

The last update of WebGPU check if the binding size follows the STD140.
This PR adds a check in final size to add some extra bytes if needed.

By the way, this recently WebGPU update broken the current examples (without this fix),
maybe a cherry picker of this commit can be necessary to master?

This contribution is funded by Google

@sunag sunag added the Bug label Dec 4, 2022
@sunag sunag added this to the r148 milestone Dec 4, 2022
@sunag sunag merged commit ed97626 into mrdoob:dev Dec 4, 2022
@sunag sunag deleted the dev-final-offset branch December 4, 2022 04:55
@sunag sunag added the Addons label Dec 4, 2022
@mrdoob
Copy link
Owner

mrdoob commented Dec 5, 2022

By the way, this recently WebGPU update broken the current examples (without this fix),
maybe a cherry picker of this commit can be necessary to master?

I'll wait to see if anyone complains first... 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants