This is a sample project for the CocoaHeads meetup, Intro to Image Processing.
If you experience a failed assertion:
Function writes texture (outTexture[1]) whose usage (0x01) doesn't specify MTLTextureUsageShaderWrite (0x02)
Go to Edit Scheme > Options > Metal API Validation and set to disabled.