new()
allocData:Map<TVar, Array<Alloc>>
consts:Array<Float>
flatten(s:ShaderData, kind:FunctionKind, constsToGlobal:Bool):ShaderData