Hi,

I agree with you. I've found the same problem for the first part (blending + alpha masking). The reference implementation is inconsistent with the specification on the masking step (see...