Removed redundant descriptor set binding
This commit is contained in:
parent
8b4ab74220
commit
bdc21c76da
1 changed files with 0 additions and 2 deletions
|
|
@ -440,8 +440,6 @@ public:
|
||||||
renderPassBeginInfo.framebuffer = cascades[i].frameBuffer;
|
renderPassBeginInfo.framebuffer = cascades[i].frameBuffer;
|
||||||
vkCmdBeginRenderPass(depthPass.commandBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE);
|
vkCmdBeginRenderPass(depthPass.commandBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE);
|
||||||
vkCmdBindPipeline(depthPass.commandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, depthPass.pipeline);
|
vkCmdBindPipeline(depthPass.commandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, depthPass.pipeline);
|
||||||
VkDeviceSize offsets[1] = { 0 };
|
|
||||||
vkCmdBindDescriptorSets(depthPass.commandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, depthPass.pipelineLayout, 0, 1, &cascades[i].descriptorSet, 0, NULL);
|
|
||||||
renderScene(depthPass.commandBuffer, depthPass.pipelineLayout, cascades[i].descriptorSet, i);
|
renderScene(depthPass.commandBuffer, depthPass.pipelineLayout, cascades[i].descriptorSet, i);
|
||||||
vkCmdEndRenderPass(depthPass.commandBuffer);
|
vkCmdEndRenderPass(depthPass.commandBuffer);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue