Add helper function for getting true/false constants in a uniform