1*8975f5c5SAndroid Build Coastguard Worker // 2*8975f5c5SAndroid Build Coastguard Worker // Copyright 2017 The ANGLE Project Authors. All rights reserved. 3*8975f5c5SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 4*8975f5c5SAndroid Build Coastguard Worker // found in the LICENSE file. 5*8975f5c5SAndroid Build Coastguard Worker // 6*8975f5c5SAndroid Build Coastguard Worker // Output the AST intermediate representation of the GLSL code. 7*8975f5c5SAndroid Build Coastguard Worker 8*8975f5c5SAndroid Build Coastguard Worker #ifndef COMPILER_TRANSLATOR_OUTPUTTREE_H_ 9*8975f5c5SAndroid Build Coastguard Worker #define COMPILER_TRANSLATOR_OUTPUTTREE_H_ 10*8975f5c5SAndroid Build Coastguard Worker 11*8975f5c5SAndroid Build Coastguard Worker namespace sh 12*8975f5c5SAndroid Build Coastguard Worker { 13*8975f5c5SAndroid Build Coastguard Worker 14*8975f5c5SAndroid Build Coastguard Worker class TIntermNode; 15*8975f5c5SAndroid Build Coastguard Worker class TInfoSinkBase; 16*8975f5c5SAndroid Build Coastguard Worker 17*8975f5c5SAndroid Build Coastguard Worker // Output the AST along with metadata. 18*8975f5c5SAndroid Build Coastguard Worker void OutputTree(TIntermNode *root, TInfoSinkBase &out); 19*8975f5c5SAndroid Build Coastguard Worker 20*8975f5c5SAndroid Build Coastguard Worker } // namespace sh 21*8975f5c5SAndroid Build Coastguard Worker 22*8975f5c5SAndroid Build Coastguard Worker #endif // COMPILER_TRANSLATOR_OUTPUTTREE_H_ 23