Skip to content
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

Naga path is flickering in imgui-wgpu-rs with Vulkan backend #1316

Closed
qthree opened this issue Apr 8, 2021 · 2 comments
Closed

Naga path is flickering in imgui-wgpu-rs with Vulkan backend #1316

qthree opened this issue Apr 8, 2021 · 2 comments
Labels
external: upstream Issues happening in lower level APIs or platforms type: bug Something isn't working

Comments

@qthree
Copy link
Contributor

qthree commented Apr 8, 2021

I've updated imgui-wgpu-rs to latest master and it works OK with Dx11 and Dx12 backends, but with Vulkan backend there's flickering glitch when some triangles disappear in random fashion, which somewhat looks like Z-fighting (but depth_stencil: None, so it shouldn't be possible).
I went back a week and managed to pin down exact commit that introduced it: gfx-rs/wgpu-rs#826
So, if I enable "cross" feature manually on the latest master this issue is also goes away.
Tested on Windows 10 with gtx840.
image
To reproduce this bug you can use my imgui-gpu-rs fork with track_wgpu_master branch. Just execute cargo run --example hello_world.

@kvark kvark changed the title "cross" feature: flickering in imgui-wgpu-rs with Vulkan backend Naga path is flickering in imgui-wgpu-rs with Vulkan backend Apr 8, 2021
@kvark
Copy link
Member

kvark commented Apr 8, 2021

@qthree thank you for filing!
The subject says "flickering" but the screenshot is showing incorrect rendering. Is it intermittent?
Could you provide an API trace for this?

@cwfitzgerald cwfitzgerald transferred this issue from gfx-rs/wgpu-rs Apr 8, 2021
@cwfitzgerald cwfitzgerald added external: upstream Issues happening in lower level APIs or platforms type: bug Something isn't working labels Apr 8, 2021
@kvark
Copy link
Member

kvark commented May 21, 2021

Fixed now in naga-0.4.1

@kvark kvark closed this as completed May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external: upstream Issues happening in lower level APIs or platforms type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants