write core macros for all GLSL ES builtins