9 Replies
      Latest reply on Feb 6, 2020 4:46 AM by carstengp
      rnikander Level 2 Level 2 (30 points)

        I have some code that used to run on my iPad Pro. Today I compiled it for iOS 13, with Xcode 11, and I get errors like this:


           validateComputeFunctionArguments:834: failed assertion `Compute Function(merge_layer):

           Shader uses texture(outTexture[1]) as read-write, but hardware does not support read-write texture of this pixel format.'


        The pixel format is showing as `MTLPixelFormatBGRA8Unorm`. That's what I expected.


        The debugger says the device has no support for writeable textures.


           (lldb) p device.readWriteTextureSupport

           (MTLReadWriteTextureTier) $R25 = tierNone


        Did some devices lose support for texture writing in iOS 13?