报错:validateRenderPassDescriptor:xxx: failed assertion `Texture at depthAttachment has usage (0x01) which doesn’t specify MTLTextureUsageRenderTarget (0x04)’
解决办法:
Xcode options 设置
GPU Frame Capture : OpenGL ES
Metal API Vaildation: Disabled
报错:validateRenderPassDescriptor:xxx: failed assertion `Texture at depthAttachment has usage (0x01) which doesn’t specify MTLTextureUsageRenderTarget (0x04)’
解决办法:
Xcode options 设置
GPU Frame Capture : OpenGL ES
Metal API Vaildation: Disabled