Skip to content

Commit

Permalink
Removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Nov 25, 2023
1 parent 46f360d commit 4d0d96e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/subpasses/subpasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,6 @@ class VulkanExample : public VulkanExampleBase
inputReferences[1] = { 2, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL };
inputReferences[2] = { 3, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL };

uint32_t preserveAttachmentIndex = 1;

subpassDescriptions[1].pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS;
subpassDescriptions[1].colorAttachmentCount = 1;
subpassDescriptions[1].pColorAttachments = &colorReference;
Expand Down

0 comments on commit 4d0d96e

Please sign in to comment.