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

"Custom Render Pass" wasm example uses not 16-byte aligned type and crashes #9386

Closed
aleqdev opened this issue Aug 8, 2023 · 2 comments
Closed
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior O-Web Specific to web (WASM) builds

Comments

@aleqdev
Copy link

aleqdev commented Aug 8, 2023

Bevy version

0.11.0 (?)

What you did

Opened example

What went wrong

In the provided shader, the type given for group 0 binding 2 has a size of 4. As the device does not support `DownlevelFlags::BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED`, the type must have a size that is a multiple of 16 bytes

Additional information

image

@aleqdev aleqdev added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Aug 8, 2023
@rparrett
Copy link
Contributor

rparrett commented Aug 8, 2023

This was fixed by #9361, but not yet deployed to the website.

@termisaal

This comment was marked as abuse.

@JMS55 JMS55 closed this as completed Sep 10, 2023
@JMS55 JMS55 added A-Rendering Drawing game state to the screen O-Web Specific to web (WASM) builds and removed S-Needs-Triage This issue needs to be labelled labels Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior O-Web Specific to web (WASM) builds
Projects
None yet
Development

No branches or pull requests

4 participants