wgpu: geometry do not render anymore in wgpu 0.14.0
Description
My project: https://github.com/pwouik/rust_voxel_engine/tree/d54bdaf7a1d1585f8d72e97e2f605d8e284234ca was working in wgpu 0.13.2 but just by updating wgpu to 0.14.0 and adding alpha_mode: CompositeAlphaMode:Auto
, it doesn’t draw anything anymore, just the clear color
The call to draw_indirect_count in chunk_renderer.rs should render the terrain, but look like it doesn’t do anything with wgpu 0.14.0
Repro steps clone my project, create save/region folder, it run, upgrade to wgpu 0.14.0, add alpha_mode, it break
Platform Ubuntu 22.04.1 LTS x86_64
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (8 by maintainers)
Commits related to this issue
- update ash (#3370) fixes https://github.com/gfx-rs/wgpu/issues/3079 — committed to gfx-rs/wgpu by teoxoy a year ago
its ash: https://github.com/ash-rs/ash/blob/master/ash/src/extensions/khr/draw_indirect_count.rs#L54
Fix released in Ash 0.37.2: https://github.com/ash-rs/ash/releases/tag/0.37.2
the problem is that I use drawindirectcount and not drawindexedindirectcount https://github.com/pwouik/rust_voxel_engine/blob/d54bdaf7a1d1585f8d72e97e2f605d8e284234ca/src/chunk_renderer.rs#L585