Photoflow: missing grain merge blend mode in mask editing

FYI, grain merge means

It adds the pixel values of the upper and lower layers together and subtracts 128.
Source: 2. Layer Modes

Note that 128 would denote the mid-point. If your range is 0-1, I guess it would mean 0.5, etc. Knowing this, you could probably cobble something together…