Posts

Post not yet marked as solved
11 Replies
6.0k Views
I have a handful of projects (including ParticleLab) that use compute shaders to write to a MetalKit view's `drawable.texture` which have all worked without issue since WWDC.However, since updating to Xcode 7.1 and iOS 9, I'm now unable to use any of my existing code and I'm getting:/BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-55.1.1/ToolsLayers/Debug/MTLDebugComputeCommandEncoder.mm:654: failed assertion `Function writes texture (outTexture[0]) whos usage (0x05) doesn't specify MTLTextureUsageShaderWrite (0x02)'Is this a bug or a new breaking change? I can't make a MetalKit's view writable, can I? Simon
Posted Last updated
.