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