* Updated #2208
This commit solves the problem of freezing when going fullscreen for MacOS.
It was caused because winit may behave unexpectedly when using
run_return. Winit crate generally discourages the use of that
(see: <https://docs.rs/winit/latest/winit/platform/run_return/trait.EventLoopExtRunReturn.html#tymethod.run_return>).
NOTE. This commit only solves the problem for `interactive_fractal`
binary, but not the `multi_window_game_of_life` binary.
* Some display servers (like X.org) are not redrawing for every frame.
* Fixed the same bug for example binary.
* Remove ControlFlow::Poll (it is the default anyway) in interactive_fractal
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Remove ControlFlow::Poll (it is the default anyway) in multi_window_game_of_life
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Add support for acceleration structures and ray queries
* Add support for acceleration structures and ray queries
* Add add_context helper method
* Remove Option from ValidationError::requires_one_of
* Update vulkano/src/command_buffer/commands/bind_push.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Use id counter, small clippy fixes elsewhere
* Use byte buffers for things with strides
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Merge `SyncCommandBuffer` into `*AutoCommandBuffer`
* Commands take containers directly instead of iterators
* Use allocator as the type parameter for built command buffers
* Don't make `UnsafeCommandBuffer` keep objects alive
* Re-add impl for Arc
* Fixes
* Doc fix
* Single type for all validation errors
* Documentation
* Small improvement
* Rename VulkanError to RuntimeError
* Simplify the error type by using an intermediate struct
* 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>
* Update vulkano/src/lib.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Better solution
* Revert to original state
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Replace `ImageAccess::descriptor_layouts()`
* Add `WriteDescriptorSet` constructors for image views with layout
* Replace `descriptor_layouts` for real
* Small changes
* More improvements
* Rewrite shader and specialization handling in pipelines
* Make the shader loading in examples a bit cleaner
* Forgot some
* Fix incorrect color blend states in examples
* Nicer fix
* Use mem::discriminant
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>