It seems that a (not ideal) workaround is to do the following:
renderPassDescriptor.depthAttachment.clearDepth = 1.0 // instead of 0.0
and
depthStateDescriptor.depthCompareFunction = .always // instead of MTLCompareFunction.greater
Topic:
Graphics & Games
SubTopic:
General
Tags: