cg-tuwien / Auto-Vk

Afterburner for Vulkan development; Auto-Vk is a modern C++ low-level convenience and productivity layer atop Vulkan-Hpp.
MIT License
281 stars 18 forks source link

Dynamic rendering #92

Closed johannesugb closed 6 months ago

johannesugb commented 12 months ago

Opened a preliminary pull request for reviewing

MatejSakmary commented 7 months ago

So I added an initial implementation of MSAA, however I am not very happy with it as is. I tried to repurpose subpass_usage for this, however I believe it should be it's own configure structure. Subpass usage(s) have a bunch of other stuff that are not relevant at all to what I am trying to use it for.

Instead I would propose something like "dynamic_usage" which would store usage flag (ie. color, depth, stencil + resolve information). What is your opinion on this? I feel (again) that the usage of subpasses might be misleading, however you might like it as it is in the spirit of what we ended up with in regards to the attachments.

Lastly I have a question, why does subpass_usage not have color resolve mode? It only has depth or stencil ones.