gallivm: rework lp_build_tgsi_soa to take a struct
The parameters were getting messy and I have to add a few more for compute shaders, so clean it up before proceeding.
The parameters were getting messy and I have to add a few more for compute shaders, so clean it up before proceeding.