alokp@chromium.org | 044a5cf | 2010-11-12 15:42:16 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (c) 2010 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 | |
Geoff Lang | 0a73dd8 | 2014-11-19 16:18:08 -0500 | [diff] [blame^] | 7 | #ifndef COMPILER_TRANSLATOR_GLSLANG_H_ |
| 8 | #define COMPILER_TRANSLATOR_GLSLANG_H_ |
| 9 | |
alokp@chromium.org | 044a5cf | 2010-11-12 15:42:16 +0000 | [diff] [blame] | 10 | struct TParseContext; |
| 11 | extern int glslang_initialize(TParseContext* context); |
| 12 | extern int glslang_finalize(TParseContext* context); |
| 13 | |
shannon.woods@transgaming.com | d64b3da | 2013-02-28 23:19:26 +0000 | [diff] [blame] | 14 | extern int glslang_scan(size_t count, |
alokp@chromium.org | 408c45e | 2012-04-05 15:54:43 +0000 | [diff] [blame] | 15 | const char* const string[], |
| 16 | const int length[], |
| 17 | TParseContext* context); |
alokp@chromium.org | 044a5cf | 2010-11-12 15:42:16 +0000 | [diff] [blame] | 18 | extern int glslang_parse(TParseContext* context); |
| 19 | |
Geoff Lang | 0a73dd8 | 2014-11-19 16:18:08 -0500 | [diff] [blame^] | 20 | #endif // COMPILER_TRANSLATOR_GLSLANG_H_ |