xref: /aosp_15_r20/external/angle/src/compiler/translator/OutputTree.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
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