errorOptions
The reporting configuration that indicates which information the GPU driver stores in a command buffer’s error property.
Declaration
var errorOptions: MTLCommandBufferErrorOption { get set }Discussion
By default, a GPU driver doesn’t report additional error information.
To create a command buffer that saves additional GPU runtime error information, add the encoderExecutionStatus option to this property. If the GPU encounters an error as it runs the command buffer, you can retrieve the additional information from the command buffer’s error property.