Add function calls to shaders.