-
Notifications
You must be signed in to change notification settings - Fork 953
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
geometry do not render anymore in wgpu 0.14.0 #3079
Comments
It broke in commit c519901d575bd6d61711e5cf9c3c1b047e7d3cf7 |
What hardware/driver? |
Intel TigerLake-LP GT2 [Iris Xe Graphics] |
I tried upgrading to mesa 22.2.0 but it still doesn't work |
I would recommend looking in |
drawindexedindirect is called instead of drawindirect |
also shouldn't wgpu forward validation errors? |
wgpu should call |
I don't see anything immediately wrong with our drawindexedindirect call https://github.com/cwfitzgerald/wgpu/blob/9a77471b5a0c281b6982e8787a35813cac5c3504/wgpu-hal/src/vulkan/command.rs#L705 |
the problem is that I use drawindirectcount and not drawindexedindirectcount |
Possibly this wasn't initially in the extension code? https://github.com/gfx-rs/wgpu/pull/2936/files#diff-1cd4ad01cffde4d05952fd3b0450f2a5db3b9fbd2af913f707940db2efc8a5b6L488 |
wgpu/wgpu-hal/src/vulkan/adapter.rs Lines 396 to 399 in c519901
Looks like it was (and still is)? |
@pwouik thanks for the pointer! Opened ash-rs/ash#695. |
thanks! |
Fix released in Ash 0.37.2: https://github.com/ash-rs/ash/releases/tag/0.37.2 |
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 colorThe 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
The text was updated successfully, but these errors were encountered: