mesa/st: set implicit in/out array sizes based on patch sizes
mesa/st: pass in patch sizes