macro_rules! sparse_descriptors {
    (sampled image, $cap:expr, $($stages:tt)*) => { ... };
}