-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
wgpu 0.17 #9302
wgpu 0.17 #9302
Conversation
Looks like wasm basically needs a rewrite of the renderer... edit: https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md#wgpu-types-now-send-sync-on-wasm edit2: I've enabled the |
I'm not sure if we should add a panic somewhere in the renderer in case someone compiles for wasm with |
Looks like minimizing is broken on dx12 for w/e reason, just panics immediately when I minimize a window. edit: just checked, minimizing works on main. edit 2: I can reproduce this upstream in wgpu edit 3: looks like it's gfx-rs/wgpu#3967 and will also crash when resizing the window. This appears to be a dx12 only issue. |
gfx-rs/wgpu#4106 is the upstream PR that fixes the crash, once that lands and there's a patch release this should be ready. |
@Elabajaba status update on this PR? |
Still waiting on a patch release for wgpu. |
wgpu 0.17.1 was just released 🎉 |
I can't reproduce the windows CI failure for the minimising example locally both on a dedicated GPU and forcing it to use WARP. |
can't reproduce on my laptop
|
Can't reproduce either
|
re triggered CI, it's still failing with the same error:
|
Just to let you know, wgpu-hal v0.17.1 is currently affected by another resize-related issue which prevents resizing on X11 + Vulkan. |
Fixed in v0.17.2 |
Oof, the resizing example also works fine for me locally on a my gpu and on WARP. ( bevy/crates/bevy_render/src/renderer/mod.rs Line 134 in f9e50e7
wgpu::util::initialize_adapter_from_env to test out warp locally)
|
Head branch was pushed to by a user without write access
~~Currently blocked on an upstream bug that causes crashes when minimizing/resizing on dx12 gfx-rs/wgpu#3967 wgpu 0.17.1 is out which fixes it # Objective Keep wgpu up to date. ## Solution Update wgpu and naga_oil. Currently this depends on an unreleased (and unmerged) branch of naga_oil, and hasn't been properly tested yet. The wgpu side of this seems to have been an extremely trivial upgrade (all the upgrade work seems to be in naga_oil). This also lets us remove the workarounds for pack/unpack4x8unorm in the SSAO shaders. Lets us close the dx12 part of bevyengine#8888 related: bevyengine#9304 --- ## Changelog Update to wgpu 0.17 and naga_oil 0.9
~~Currently blocked on an upstream bug that causes crashes when minimizing/resizing on dx12 gfx-rs/wgpu#3967 wgpu 0.17.1 is out which fixes it Keep wgpu up to date. Update wgpu and naga_oil. Currently this depends on an unreleased (and unmerged) branch of naga_oil, and hasn't been properly tested yet. The wgpu side of this seems to have been an extremely trivial upgrade (all the upgrade work seems to be in naga_oil). This also lets us remove the workarounds for pack/unpack4x8unorm in the SSAO shaders. Lets us close the dx12 part of bevyengine#8888 related: bevyengine#9304 --- Update to wgpu 0.17 and naga_oil 0.9
~~Currently blocked on an upstream bug that causes crashes when minimizing/resizing on dx12 gfx-rs/wgpu#3967 wgpu 0.17.1 is out which fixes it # Objective Keep wgpu up to date. ## Solution Update wgpu and naga_oil. Currently this depends on an unreleased (and unmerged) branch of naga_oil, and hasn't been properly tested yet. The wgpu side of this seems to have been an extremely trivial upgrade (all the upgrade work seems to be in naga_oil). This also lets us remove the workarounds for pack/unpack4x8unorm in the SSAO shaders. Lets us close the dx12 part of bevyengine#8888 related: bevyengine#9304 --- ## Changelog Update to wgpu 0.17 and naga_oil 0.9
Currently blocked on an upstream bug that causes crashes when minimizing/resizing on dx12 gfx-rs/wgpu#3967wgpu 0.17.1 is out which fixes itObjective
Keep wgpu up to date.
Solution
Update wgpu and naga_oil.
Currently this depends on an unreleased (and unmerged) branch of naga_oil, and hasn't been properly tested yet.
The wgpu side of this seems to have been an extremely trivial upgrade (all the upgrade work seems to be in naga_oil). This also lets us remove the workarounds for pack/unpack4x8unorm in the SSAO shaders.
Lets us close the dx12 part of #8888
related: #9304
Changelog
Update to wgpu 0.17 and naga_oil 0.9