Hey, This is just a couple of patches I threw together to interface the new mesa viewport array code to gallium, I've ran a few tests on llvmpipe, and they seem to pass with this code. The only question I really have is do we want to expand the CSO interface to cover this or not? Dave.