You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That requirement is new as well: for textures that are written into/read from, you need to specify the usage flags in the MTLTextureDescriptor object that is used to create the texture like
I started the app and I fixed the problem #3 but now I have the following error:
validateComputeFunctionArguments:860: failed assertion `Compute Function(haarCascadePixelParallelFromTexture): writes texture (varianceMap[4]) whose usage (0x01) doesn't specify MTLTextureUsageShaderWrite (0x02)'
It occurs in line https://github.com/christopherhelf/iOS-Metal-HaarCascade/blob/master/iOS-HaarCascade-Improved/MetalComputeShader.swift#L174
The text was updated successfully, but these errors were encountered: