-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ValidationError-ify Surface
and Swapchain
#2236
Conversation
…wapchain-validation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The merge is incomplete, these should be gone now.
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
Yes hello, I'd like to order one merge please. |
…wapchain-validation
Hmm, I think you need to unununfix that. |
I don't know what the right way is anymore @.@ |
0234551
to
d2370bc
Compare
Hehe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding was that these being the first thing in the handler was intentional, as it makes no sense to render to a window that's minimized. Moreover, you moved these checks inside the if below but not in all examples, so that's inconsistent now and makes me one sad boii.
f66b56d
to
0b62ec4
Compare
Thanks! |
* Add `RequiresAllOf`, automatically enable required extensions and features * Add more missing backticks and backslashes to error messages * Use updated VUIDs that require `acceleration_structure` * ValidationError-ify `Surface` and `Swapchain` * Update vulkano/src/lib.rs Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com> * Update vulkano/src/lib.rs Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com> * Don't draw if the window has zero size --------- Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
Changelog:
Depends on #2233. I also reorganised the swapchain code a bit, by placing the main
Swapchain
type and related things inswapchain/mod.rs
, and splitting off the acquire/present stuff intoswapchain/acquire_present.rs
.Items of
ext_swapchain_maintenance1
that are still missing:Both of these rely on proper (queue) sync logic, which we don't have yet.