Add a separate scanline function scanfill_vert_add_v2_with_depth that adds
a vertex from 2D coordinate array & the specified z-value.
Following @Campbell Barton (campbellbarton)'s TODO (mask_rasterize.c:732) this adds a separate scanline function BLI_scanfill_vert2d_add that adds a scanline vertex from 2D coordinate array, and the specified z-value:
This function is then used to directly add the mask vertices to the scanline instead of copying the 2D arrays for each vertex.
BLI_scanfill_vert2d_add(&sf_ctx, co_feather, 1.0f);