VK_KHR_dynamic_rendering and depth pre-pass? [SOLVED}

The VK_KHR_dynamic_rendering extension simplifies my code quite a lot. However, I am not sure how a depth pre-pass should be implemented. Will it work if I just render one pass, and then the next? Previously I had to implement this using sub-passes.

VkRenderingInfoKHR renderinfo;
// Set render settings here

// Draw everything

// Change some render settings here

// Draw everything again
1 Like

Nevermind, it seems to work just fine, with or without the depth pre-pass.

After working a few more days with this, I must say this is really nice. I am able to quickly switch code around and change my design without much trouble. My experience with Vulkan has never given me this much flexibility.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.