File tree Expand file tree Collapse file tree
examples/oit/vsgdepthpeeling/depthpeeling Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ ref_ptr<RenderPass> Resources::createTransparencyPass(const CreateRenderPassInfo
6969
7070 for (auto pass = 0u ; pass < createInfo.numPeelLayers ; ++pass)
7171 {
72- SubpassDescription renderSubpass{ 0 , VK_PIPELINE_BIND_POINT_GRAPHICS} ;
72+ SubpassDescription renderSubpass;
7373 renderSubpass.colorAttachments .emplace_back (attachmentRefs.at (ColorPeel));
7474 renderSubpass.depthStencilAttachments .emplace_back (
7575 attachmentRefs.at (DepthPeel0 + (pass % 2 )));
@@ -87,7 +87,7 @@ ref_ptr<RenderPass> Resources::createTransparencyPass(const CreateRenderPassInfo
8787
8888 subpasses.emplace_back (renderSubpass);
8989
90- SubpassDescription combineSubpass{ 0 , VK_PIPELINE_BIND_POINT_GRAPHICS} ;
90+ SubpassDescription combineSubpass;
9191 combineSubpass.colorAttachments .emplace_back (attachmentRefs.at (ColorAccum));
9292
9393 combineSubpass.inputAttachments .emplace_back (attachmentRefs.at (ColorPeel));
@@ -103,7 +103,7 @@ ref_ptr<RenderPass> Resources::createTransparencyPass(const CreateRenderPassInfo
103103
104104 // Combine Subpass => Combine opaque and transparent fragments
105105
106- SubpassDescription combineSubpass{ 0 , VK_PIPELINE_BIND_POINT_GRAPHICS} ;
106+ SubpassDescription combineSubpass;
107107 combineSubpass.colorAttachments .emplace_back (attachmentRefs.at (ColorOpaque));
108108
109109 combineSubpass.inputAttachments .emplace_back (attachmentRefs.at (ColorAccum));
You can’t perform that action at this time.
0 commit comments