Skip to content

Commit 4673762

Browse files
committed
No need to create uniforms in lighting phase
1 parent ae5a73e commit 4673762

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

booksamples/chapter-10/src/main/java/org/vulkanb/eng/graph/lighting/LightingRenderActivity.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ private void createCommandBuffers(CommandPool commandPool, int numImages) {
7676
private void createDescriptorPool() {
7777
List<DescriptorPool.DescriptorTypeCount> descriptorTypeCounts = new ArrayList<>();
7878
descriptorTypeCounts.add(new DescriptorPool.DescriptorTypeCount(GeometryAttachments.NUMBER_ATTACHMENTS, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER));
79-
descriptorTypeCounts.add(new DescriptorPool.DescriptorTypeCount(swapChain.getNumImages() * 2 + 1, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER));
8079
descriptorPool = new DescriptorPool(device, descriptorTypeCounts);
8180
}
8281

0 commit comments

Comments
 (0)