Skip to content

Commit a87eb52

Browse files
Merge pull request #344 from P0rc3lain/debug-groups
Do not use debug groups
2 parents c2b717d + c0dfa3b commit a87eb52

3 files changed

Lines changed: 0 additions & 10 deletions

File tree

Engine/Core/Rendering/Stages/PNCombineStage.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

Engine/Core/Rendering/Stages/PNPostprocessStage.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

Engine/Core/Rendering/Stages/PNSSAOStage.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)