vulkano/vulkano-shaders
Tim Balsfulland 748097a159
add support for VK_KHR_multiview (#1598)
* initial support for the `VK_KHR_multiview` extension

The `VK_KHR_multiview` extension can be used to efficiently draw to multiple layers of a framebuffer at once with.
This is particularly useful for virtual reality applications or other types of stereoscopic rendering where both eyes need to be rendered and they share almost all visible vertices.

* allow creation of multi-layer attachment images

Using the `AttachmentImage::multisampled_with_usage_with_layers` constructor.
More constructors with different combinations could be added for the `AttachmentImage` but `multisampled_with_usage_with_layers` already exposes all possible options.
I think all these different constructors should be replaced with a constructor that takes a struct that implements `Default` or an enum with the different possibilities.

* compliance with VUID-VkFramebufferCreateInfo-renderPass-02531

* removed changelog entries according to new policy

* migrate `VK_KHR_multiview` support to ash

* add more comments

* add remaining `VK_KHR_multiview` validation

* validate instanced drawing using `multiview` limits

* add some missing validation relating to `VIEW_LOCAL` dependencies

* use the vulkano device feature instead of depending on the `multiview` extension directly
2021-06-07 21:41:13 +07:00
..
src add support for VK_KHR_multiview (#1598) 2021-06-07 21:41:13 +07:00
tests Fix generated descriptor set layouts for shader modules with multiple entrypoints (#1497) 2021-03-14 16:33:44 +07:00
Cargo.toml Release 0.23.0 (#1576) 2021-05-10 21:58:23 +07:00
LICENSE-APACHE Adds LICENSE-* files to crate subdirectories (#1597) 2021-05-31 04:53:05 +07:00
LICENSE-MIT Adds LICENSE-* files to crate subdirectories (#1597) 2021-05-31 04:53:05 +07:00