blob: 91a7958c006e307e10ec7f82d5b2a4a1732a1665 [file] [log] [blame]
Corentin Wallezd4b50542015-09-28 12:19:26 -07001//
2// Copyright (c) 2015 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// RewriteDoWhile.h: rewrite do-while loops as while loops to work around
8// driver bugs
9
10#ifndef COMPILER_TRANSLATOR_REWRITEDOWHILE_H_
11#define COMPILER_TRANSLATOR_REWRITEDOWHILE_H_
12
Jamie Madill45bcc782016-11-07 13:58:48 -050013namespace sh
14{
Corentin Wallezd4b50542015-09-28 12:19:26 -070015class TIntermNode;
16void RewriteDoWhile(TIntermNode *root, unsigned int *temporaryIndex);
Jamie Madill45bcc782016-11-07 13:58:48 -050017} // namespace sh
Corentin Wallezd4b50542015-09-28 12:19:26 -070018
19#endif // COMPILER_TRANSLATOR_REWRITEDOWHILE_H_