zink: use helper function to handle uvec/bvec types