The resource options must match between an `MTLBuffer` and any linear texture created from it. Further, to be writable, the `MTLTextureDescriptor` should have the `MTLTextureUsageShaderWrite` bit set. Fixes #542.
The resource options must match between an `MTLBuffer` and any linear texture created from it. Further, to be writable, the `MTLTextureDescriptor` should have the `MTLTextureUsageShaderWrite` bit set. Fixes #542.