vulkano-rs / vulkano

Safe and rich Rust wrapper around the Vulkan API
Apache License 2.0
4.45k stars 435 forks source link

support for `ext_conservative_rasterization` #2508

Closed LukeP0WERS closed 4 months ago

LukeP0WERS commented 4 months ago

added a conservative rasterization state to the graphics pipeline and the dynamic states for it. i have tested it with my own project and everything seems to be working.

Changelog:

### Additions
- Support for the `ext_conservative_rasterization` extension.
- Support for the `extended_dynamic_state3_conservative_rasterization_mode` device feature.
- Support for the `extended_dynamic_state3_extra_primitive_overestimation_size` device feature.
Rua commented 4 months ago

A few VUIDs are not validated yet:

LukeP0WERS commented 4 months ago

not sure how to do VUID-vkCmdDraw*-conservativePointAndLineRasterization-07499

marc0246 commented 4 months ago

Note that ConservativeRasterizationState is an extension to RasterizationState, not to GraphicsPipelineCreateInfo. We should fix this before releasing.