blob: 34debe0ed978094902cb2731fedb08d643c215c9 [file] [log] [blame]
Qiankun Miao09cfac62016-09-06 17:25:16 +08001//
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
12class TIntermNode;
13namespace sh
14{
15
16void AddAndTrueToLoopCondition(TIntermNode *root);
17
18} // namespace sh
19
20#endif // COMPILER_TRANSLATOR_ADDANDTRUETOLOOPCONDITION_H_