gfx-rs / wgpu-rs

Rust bindings to wgpu native library
https://wgpu.rs
Mozilla Public License 2.0
1.69k stars 186 forks source link

Update to latest web-sys bindings #785

Closed grovesNL closed 3 years ago

grovesNL commented 3 years ago

We can wait for https://github.com/rustwasm/wasm-bindgen/pull/2482 first

kvark commented 3 years ago

@grovesNL let's finish this one?

grovesNL commented 3 years ago

@kvark still not totally sure what's happening with shadow on Vulkan, but I wonder if it's somehow related to naga (e.g. https://github.com/gfx-rs/naga/issues/525)?

kvark commented 3 years ago

What about Vulkan? also, clippy wants more formatting

grovesNL commented 3 years ago

Currently shadow on Vulkan just renders an empty black canvas like hello-triangle does sometimes. Shadow on Metal will crash which might be due to https://github.com/gfx-rs/naga/pull/443

kvark commented 3 years ago

Ok, so we'll need a small Gecko update to use latest Naga, that's fine

kvark commented 3 years ago

Thank you for finishing this PR! bors r+

bors[bot] commented 3 years ago

Build succeeded: