add texture lookup functions to builtins