MTLStoreAction.customSampleDepthStore
The GPU stores depth data in a sample-position–agnostic representation.
Declaration
case customSampleDepthStoreDiscussion
You can only set this action on an MTLRenderPassDepthAttachmentDescriptor instance.
Set this action when you need to read the depth data in a subsequent render pass or blit operation that is unaware of the programmable sample positions used to generate the data.
If you specify this action, Metal may decompress the depth render target and store the resulting data in its decompressed form. If you don’t change programmable sample positions in a subsequent render pass, use MTLStoreAction.store instead to improve performance.