The rgbBlendOperation values for Min/Max work, however when changing alphaBlendOperation to MTLBlendOperationMax or MTLBlendOperationMin, they have no effect.
It appears like the alpha channel just gets ignored.
However, I can successfully set MTLBlendFactorSourceAlpha to sourceRGBBlendFactor, and MTLBlendFactorOneMinusSourceAlpha to destinationRGBBlendFactor.
I basically have a stamped paint stroke made of transparent airbrush looking circles. My thought was that I should be able to set alphaBlendOperation to Max, and it would pick the least transparent pixel from the source or destination.
I was able to achieve this effect successfully using the Max value for rgbBlendOperation, so I know that my premise is correct, however when trying the same technique, alphaBlendOperation appears to not be functional at all.
I have taken two screenshots. The first is how it should look (I achieved this without the alpha channel using rgbBlendOperation = Max) The second screenshot is what it looks like when I try to use alphaBlendOperation = Max. The alpha is ignored and instead I just get a bunch of squares stamped along the drawing stroke.
I've double checked all the settings I could find, and everything appears to be set correctly, is this a bug with alphaBlendOperation?