-
Notifications
You must be signed in to change notification settings - Fork 406
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
Bogus image usage check in vkCmdBeginRenderPass with KHR_imageless_framebuffer #2502
Comments
This VU was recently (1.2.165) changed to Code change: If you were by change using |
We are getting multiple reports about the validation layers just plain crashing after showing this error. |
Sure, unless @ncesario-lunarg wants, I can take this on |
If you're offering, it's all yours @sfricke-samsung! |
|
One way to reproduce this would be by running the affected wgpu-rs example: # install rust & cargo, VVL
git clone https://github.com/gfx-rs/wgpu-rs && cd wgpu-rs
cargo run --example mipmap The current VVL version on my system (Solus) is 1.2.162.0, where it still reproduces. As for #2480, it only improves the error message and fixes |
sounds good... using this as an excuse to learn about setting up cargo for other rust projects as it was on my bucket list in life anyways 😄 |
So I ran with a GTX 1070 and Swiftshader, I checked out the sdk-1.2.162.1 commit and ran that, and got a few By chance could you grab the latest SDK and retry on your machine and if you are still getting the same error can you do a VK_INSTANCE_LAYERS=$VK_INSTANCE_LAYERS:VK_LAYER_LUNARG_api_dump cargo run --example mipmap > dump.txt and post that here. I only see a single
with 9 So if you are getting this issue, it would be because of the usage flags for the image from |
Looks to be fixed in vvl-1.2.170.0. Thank you! |
Describe the Issue
See gfx-rs/wgpu#1175 for details.
Validation triggers an error with image-less framebuffers. We believe it's a VVL bug.
Valid Usage ID
Environment:
Additional context
See the renderdoc capture. It shows the validation error, yet one can inspect the parameters of
vkCreateFramebuffer
as well asvkCreateSwapchain
and see that the usage is consistentlyVK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
, and the VVL error is wrong.The text was updated successfully, but these errors were encountered: