fn filter_primitives_for_compositing(
    input_filter_primitives: ItemRange<'_, FilterPrimitive>,
) -> Vec<FilterPrimitive>