libcg / grvk

Vulkan-based Mantle API implementation
https://en.wikipedia.org/wiki/Mantle_(API)
zlib License
221 stars 14 forks source link

Render pass optimization #30

Closed Cherser-s closed 2 years ago

Cherser-s commented 2 years ago

Added global VkRenderPass cache and removed VkRenderPass objects from the pipeline. Also added separate dirty flag specifically for render pass to reduce the amount of separate render passes between pipeline switches.

Cherser-s commented 2 years ago

Closed due to the switch to VK_KHR_dynamic_rendering extension.