Hair shading model ignores light function masks

not sure if this in intentional or not

but if you have the hair shading model on a mesh
and you have a light with a light function that makes a cut out of light, it seems like the hair shading model object ignores the mask.

while the other shading models like default lit seem to work fine with the light function masks