1 // 2 // Copyright (c) 2016 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 // Rewrite condition in for and while loops to work around driver bug on Intel Mac. 8 9 #ifndef COMPILER_TRANSLATOR_ADDANDTRUETOLOOPCONDITION_H_ 10 #define COMPILER_TRANSLATOR_ADDANDTRUETOLOOPCONDITION_H_ 11 12 class TIntermNode; 13 namespace sh 14 { 15 16 void AddAndTrueToLoopCondition(TIntermNode *root); 17 18 } // namespace sh 19 20 #endif // COMPILER_TRANSLATOR_ADDANDTRUETOLOOPCONDITION_H_ 21