added constsToGlobals to store all constants in shader globals
started AGAL output for hxsl3