st/mesa: translate shader system inputs