This moves vkCmdCopyQueryPoolResults outside of the Renderpass, as it should be according to the Vulkan spec. This understanably has looks wrong on the first frame, but by doing this you avoid having to use two renderpasses to get the occlusion result. |
||
|---|---|---|
| .. | ||
| occlusionquery.cpp | ||
| occlusionquery.vcxproj | ||
| occlusionquery.vcxproj.filters | ||