You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is very weird and for some reason seems to be totally random, but once in a while and only since 0.7 update, my app sometimes crash with this error.
wgpu error:ValidationErrorCaused by:In a RenderPass
note: encoder = `<CommandBuffer-(0,82,Vulkan)>`
In a set_scissor_rect command
InvalidScissorRect parameters
I wish I could show how to reproduce it, but since it's not consistent at all I don't really know what to give.
In the meantime, maybe there's a way to validate the set_scissor_rect here to avoid crashing or to print something more helpful when it happens ?
It might also be a problem upstream where imgui randomly (UB?) gives wrong scissor rect parameters
EDIT: Also, it doesn't appear to happen with the hello_world example
The text was updated successfully, but these errors were encountered:
I found it! it's a synchronization problem between the renderpass target texture size and the actual window size when resizing.
If this happens for someone else: Make sure that when rendering the window size as seen by imgui (in my case I used the imgui winit support crate) and the target texture in the ui render pass are the same size.
This is very weird and for some reason seems to be totally random, but once in a while and only since 0.7 update, my app sometimes crash with this error.
I wish I could show how to reproduce it, but since it's not consistent at all I don't really know what to give.
In the meantime, maybe there's a way to validate the set_scissor_rect here to avoid crashing or to print something more helpful when it happens ?
It might also be a problem upstream where imgui randomly (UB?) gives wrong scissor rect parameters
EDIT: Also, it doesn't appear to happen with the hello_world example
The text was updated successfully, but these errors were encountered: