• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 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 
7 #ifndef COMPILER_TRANSLATOR_GLSLANG_H_
8 #define COMPILER_TRANSLATOR_GLSLANG_H_
9 
10 namespace sh
11 {
12 class TParseContext;
13 }
14 
15 extern int glslang_initialize(sh::TParseContext *context);
16 extern int glslang_finalize(sh::TParseContext *context);
17 
18 extern int glslang_scan(size_t count,
19                         const char *const string[],
20                         const int length[],
21                         sh::TParseContext *context);
22 extern int glslang_parse(sh::TParseContext *context);
23 
24 #endif  // COMPILER_TRANSLATOR_GLSLANG_H_
25