// // Copyright 2020 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. // // ValidateBarrierFunctionCalls: // Runs compilation checks related to the "barrier built-in function. #include "compiler/translator/ValidateBarrierFunctionCall.h" #include "compiler/translator/Diagnostics.h" #include "compiler/translator/SymbolTable.h" #include "compiler/translator/tree_util/IntermTraverse.h" namespace sh { namespace { class Traverser : public TIntermTraverser { … }; } // anonymous namespace bool ValidateBarrierFunctionCall(TIntermBlock *root, TDiagnostics *diagnostics) { … } } // namespace sh