1 //
2 // Copyright 2017 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 // Output the AST intermediate representation of the GLSL code.
7 
8 #ifndef COMPILER_TRANSLATOR_OUTPUTTREE_H_
9 #define COMPILER_TRANSLATOR_OUTPUTTREE_H_
10 
11 namespace sh
12 {
13 
14 class TIntermNode;
15 class TInfoSinkBase;
16 
17 // Output the AST along with metadata.
18 void OutputTree(TIntermNode *root, TInfoSinkBase &out);
19 
20 }  // namespace sh
21 
22 #endif  // COMPILER_TRANSLATOR_OUTPUTTREE_H_
23