Chances of crash using wgpu backend #7076
wormtql
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I write a minimal example, but even with the minimal code relating only imgui, glfw and webgpu, it still exhibits crashes when resizing window.
The code example are here
and you can find the related imgui/glfw/webgpu version here
Most of the code follows the cpp egpu tutorial, and the official wgpu-imgui example(especially the logic to handle window resizing)
The code runs fine if I just left it run and don't do any resizing, but there are chances of crash when I frequently resize the window.
The error message:
And there are chances the error message is something like "surface timeout"
for convenience, I paste the related code there
Beta Was this translation helpful? Give feedback.
All reactions