// // Copyright 2023 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include <set> #include "compiler/translator/tree_ops/RescopeGlobalVariables.h" #include "compiler/translator/tree_util/IntermTraverse.h" #include "compiler/translator/tree_util/ReplaceVariable.h" #include "compiler/translator/util.h" namespace sh { //////////////////////////////////////////////////////////////////////////////// namespace { class Rescoper : public TIntermTraverser { … }; } // anonymous namespace //////////////////////////////////////////////////////////////////////////////// bool RescopeGlobalVariables(TCompiler &compiler, TIntermBlock &root) { … } } // namespace sh