forked from Dynamitos/Seele
Implemented basic occlusions queries
This commit is contained in:
1 parent
52c4f11d28
commit
df7fbef8bd
20 files changed
+221
-156
No files matched your search
@@ -181,8 +181,8 @@ void RenderCommand::begin(PRenderPass renderPass, PFramebuffer framebuffer) {
|
||||
.renderPass = renderPass->getHandle(),
|
||||
.subpass = 0,
|
||||
.framebuffer = framebuffer->getHandle(),
|
||||
.occlusionQueryEnable = 0,
|
||||
.queryFlags = 0,
|
||||
.occlusionQueryEnable = 1,
|
||||
.queryFlags = VK_QUERY_CONTROL_PRECISE_BIT,
|
||||
.pipelineStatistics = 0,
|
||||
};
|
||||
VkCommandBufferBeginInfo beginInfo = {
|
||||
|
||||
Reference in new issue
Block a user