MTLCommandBufferError.Code.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
case stackOverflowDiscussion
You can set the largest number of stack frames your pipelines by configuring these properties:
MTLComputePipelineDescriptor
.maxCallStackDepth for kernel functionsMTLTileRenderPipelineDescriptor
.maxCallStackDepth for tile shaders
See Also
Error codes
MTLCommandBufferError.Code.noneMTLCommandBufferError.Code.timeoutMTLCommandBufferError.Code.pageFaultMTLCommandBufferError.Code.notPermittedMTLCommandBufferError.Code.outOfMemoryMTLCommandBufferError.Code.invalidResourceMTLCommandBufferError.Code.memorylessMTLCommandBufferError.Code.deviceRemovedaccessRevokedMTLCommandBufferError.Code.internal