682f984dbe
Ref: #118534 turns out `in_volume_segment` does need to be checked. If the ray origin lies on the wrong side of the mesh light, part of the ray could still be lit by the other side, so the sample should not be considered invalid. Pull Request: https://projects.blender.org/blender/blender/pulls/119529