You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wasm.js:374 panicked at 'wgpu error: Validation Error
Caused by:
In Device::create_render_pipeline
note: label = `transparent_mesh2d_pipeline`
In the provided shader, the type given for group 1 binding 0 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.
', /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.15.1/src/backend/direct.rs:3024:5
Problem
Reproduction
To reproduce, it may be simplest to use
wasm-server-runner
.wasm-server-runner
cargo run --target wasm32-unknown-unknown --example tiling
Additional Info
This is a minimal sort of fix that solves the issue. Obviously not ideal as
BackgroundMaterial
is pub.For more background, here's a PR that fixed a similar issue in Bevy itself: bevyengine/bevy#6460
The text was updated successfully, but these errors were encountered: