* small rasterization program optimization: only copy batches into local memory when they're non-empty