5 Replies
      Latest reply on Nov 27, 2019 5:50 AM by rnikander
      rnikander Level 1 Level 1 (20 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?

         

        Rob