stackOverflow
An error code that indicates the GPU terminated the command buffer because a kernel function of tile shader used too many stack frames.
Declaration
static var stackOverflow: MTLCommandBufferError.Code { get }Discussion
You can set the largest number of stack frames your pipelines by configuring these properties:
MTLComputePipelineDescriptor
.maxCallStackDepth for kernel functionsMTLTileRenderPipelineDescriptor
.maxCallStackDepth for tile shaders