adrien-ben / imgui-rs-vulkan-renderer

A Vulkan renderer for imgui-rs using Ash
MIT License
63 stars 19 forks source link

Add options for subpass and multisampling #47

Closed anas2660 closed 1 month ago

anas2660 commented 1 month ago

Adds options for subpass and multisampling when creating the graphics pipeline. Say that you have a renderpass with a single subpass that is multisampled (4x) and resolved directly to the surface image. For this case you could set the option multisampling to vk::SampleCountFlags::TYPE_4, and it would render correctly.

However, if you have 2 subpasses, for example:

adrien-ben commented 1 month ago

Thank you! Looks good to me.

adrien-ben commented 1 month ago

version 1.15.0 is available with your modifications, thanks again