Skip to content

Console Error When Running WASM #6302

Discussion options

You must be logged in to vote

So, I'd go look in the wgpu code, and figure out what the line is. This is the tag for 0.13.2, so we'll start here: https://github.com/gfx-rs/wgpu/releases/tag/v0.13.2

Navigating, we find this file: https://github.com/gfx-rs/wgpu/blob/v0.13.2/wgpu-hal/src/gles/queue.rs

So the panic is happening on this line: https://github.com/gfx-rs/wgpu/blob/9f82504d8a3b6e234599b19cc35c299bcec8b138/wgpu-hal/src/gles/queue.rs#L358

Looks like... some sort of extraction process? And it's working with cubemaps? It's probably an off-by-one error.

This code was working fine on desktop, so it's almost certainly a bug. Report it upstream to wgpu, and work with them to find a minimal reproduction :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@evanshabsove
Comment options

Answer selected by alice-i-cecile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants