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

Fix web crash on missing uniform buffer padding #1699

Merged
merged 1 commit into from Mar 23, 2023

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Mar 23, 2023

The alignment is actually already there, but wgpu/Naga doesn't see it at this point.

Fixes #1697

Checklist

@Wumpf Wumpf added the 🦟 regression A thing that used to work in an earlier release label Mar 23, 2023
The alignment is actually already there, but wgpu/Naga doesn't see it at this point.
@Wumpf Wumpf force-pushed the andreas/fix-web-issue-with-missing-uniform-padding branch from 0f48b09 to c8d0b55 Compare March 23, 2023 18:55
Copy link
Member

@jleibs jleibs left a comment

Choose a reason for hiding this comment

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

Seems reasonable.

@Wumpf Wumpf added the 🔺 re_renderer affects re_renderer itself label Mar 23, 2023
@Wumpf
Copy link
Member Author

Wumpf commented Mar 23, 2023

Not so sure about that :D. Drives me a bit nuts. Want to point the finger at some code location for not doing validation correctly but .. ehrm.. it's complicated?

@jleibs
Copy link
Member

jleibs commented Mar 23, 2023

@jleibs jleibs merged commit 6e4ddaf into main Mar 23, 2023
22 of 23 checks passed
@jleibs jleibs deleted the andreas/fix-web-issue-with-missing-uniform-padding branch March 23, 2023 19:42
@emilk emilk added 🕸️ web regarding running the viewer in a browser 💣 crash crash, deadlock/freeze, do-no-start labels Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💣 crash crash, deadlock/freeze, do-no-start 🔺 re_renderer affects re_renderer itself 🦟 regression A thing that used to work in an earlier release 🕸️ web regarding running the viewer in a browser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Web build fails to load due to "DownlevelFlags::BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED"
3 participants