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

integration example fails to run with a validation error #775

Closed
tasgon opened this issue Mar 13, 2021 · 3 comments · Fixed by #818
Closed

integration example fails to run with a validation error #775

tasgon opened this issue Mar 13, 2021 · 3 comments · Fixed by #818
Labels
bug Something isn't working question Further information is requested

Comments

@tasgon
Copy link

tasgon commented Mar 13, 2021

After running cargo run --package integration, I get this:

wgpu error: Validation Error

Caused by:
    In a RenderPass
      note: encoder = `<CommandBuffer-(0, 1, Vulkan)>`
    In a set_scissor_rect command
    Invalid ScissorRect parameters


thread 'main' panicked at 'Handling wgpu errors as fatal by default', /home/<user>/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/wgpu-0.7.0/src/backend/direct.rs:1896:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@hecrj hecrj added bug Something isn't working question Further information is requested labels Mar 27, 2021
@thenlevy
Copy link
Contributor

thenlevy commented Apr 8, 2021

I managed to reproduce this. I think the problem is the same as in #816, because I needed to adjust my graphical setting so that the value of scale factor was 1.75

Also I got a similar backtrace as in #816, the validation error occurs in iced_wgpu::Backend::flush when a call to RenderPass::set_scissor_rect is made

@kaimast
Copy link

kaimast commented Apr 26, 2021

Can reproduce this too.

@hecrj
Copy link
Member

hecrj commented Jun 10, 2021

Fixed by #818.

@hecrj hecrj closed this as completed Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
4 participants