File tree Expand file tree Collapse file tree
Engine/Core/Rendering/Stages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ struct PNCombineStage: PNStage {
7070 guard let encoder = commandBuffer. makeRenderCommandEncoder ( descriptor: renderPassDescriptor) else {
7171 return
7272 }
73- commandBuffer. pushDebugGroup ( " Light Pass " )
7473 omniJob. draw ( encoder: encoder, supply: supply)
7574 ambientJob. draw ( encoder: encoder, supply: supply)
7675 spotJob. draw ( encoder: encoder, supply: supply)
@@ -80,6 +79,5 @@ struct PNCombineStage: PNStage {
8079 particleJob. draw ( encoder: encoder, supply: supply)
8180 fogJob. draw ( encoder: encoder, supply: supply)
8281 encoder. endEncoding ( )
83- commandBuffer. popDebugGroup ( )
8482 }
8583}
Original file line number Diff line number Diff line change @@ -49,19 +49,15 @@ struct PNPostprocessStage: PNStage {
4949 guard let bloomSplitEncoder = commandBuffer. makeComputeCommandEncoder ( ) else {
5050 return
5151 }
52- commandBuffer. pushDebugGroup ( " Bloom Pass " )
5352 bloomSplitJob. compute ( encoder: bloomSplitEncoder, supply: supply)
5453 bloomSplitEncoder. endEncoding ( )
5554 gaussianBlurJob. encode ( commandBuffer: commandBuffer,
5655 sourceTexture: bloomSplitTexture,
5756 destinationTexture: splitBlurredTexture)
58- commandBuffer. popDebugGroup ( )
5957 guard let postprocessMergeEncoder = commandBuffer. makeComputeCommandEncoder ( ) else {
6058 return
6159 }
62- commandBuffer. pushDebugGroup ( " Postprocess Merge Pass " )
6360 postprocessMergeJob. compute ( encoder: postprocessMergeEncoder, supply: supply)
6461 postprocessMergeEncoder. endEncoding ( )
65- commandBuffer. popDebugGroup ( )
6662 }
6763}
Original file line number Diff line number Diff line change @@ -35,14 +35,10 @@ struct PNSSAOStage: PNStage {
3535 guard let ssaoEncoder = commandBuffer. makeComputeCommandEncoder ( ) else {
3636 return
3737 }
38- commandBuffer. pushDebugGroup ( " SSAO Kernel " )
3938 ssaoKernel. compute ( encoder: ssaoEncoder, supply: supply)
4039 ssaoEncoder. endEncoding ( )
41- commandBuffer. popDebugGroup ( )
42- commandBuffer. pushDebugGroup ( " SSAO Blur Filter " )
4340 gaussianBlur. encode ( commandBuffer: commandBuffer,
4441 sourceTexture: ssaoTexture,
4542 destinationTexture: gaussTexture)
46- commandBuffer. popDebugGroup ( )
4743 }
4844}
You can’t perform that action at this time.
0 commit comments