1//
2// Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6
7#ifndef COMPILER_TRANSLATOR_INITIALIZE_H_
8#define COMPILER_TRANSLATOR_INITIALIZE_H_
9
10#include "compiler/translator/Common.h"
11#include "compiler/translator/Compiler.h"
12#include "compiler/translator/SymbolTable.h"
13
14namespace sh
15{
16
17void InitExtensionBehavior(const ShBuiltInResources &resources,
18 TExtensionBehavior &extensionBehavior);
19
20// Resets the behavior of the extensions listed in |extensionBehavior| to the
21// undefined state. These extensions will only be those initially supported in
22// the ShBuiltInResources object for this compiler instance. All other
23// extensions will remain unsupported.
24void ResetExtensionBehavior(TExtensionBehavior &extensionBehavior);
25
26} // namespace sh
27
28#endif // COMPILER_TRANSLATOR_INITIALIZE_H_
29