blob: db31e6946c57aac1c3ac1694b92c6d5dc1ae513c [file] [log] [blame]
alokp@chromium.org044a5cf2010-11-12 15:42:16 +00001//
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 Lang0a73dd82014-11-19 16:18:08 -05007#ifndef COMPILER_TRANSLATOR_GLSLANG_H_
8#define COMPILER_TRANSLATOR_GLSLANG_H_
9
alokp@chromium.org044a5cf2010-11-12 15:42:16 +000010struct TParseContext;
11extern int glslang_initialize(TParseContext* context);
12extern int glslang_finalize(TParseContext* context);
13
shannon.woods@transgaming.comd64b3da2013-02-28 23:19:26 +000014extern int glslang_scan(size_t count,
alokp@chromium.org408c45e2012-04-05 15:54:43 +000015 const char* const string[],
16 const int length[],
17 TParseContext* context);
alokp@chromium.org044a5cf2010-11-12 15:42:16 +000018extern int glslang_parse(TParseContext* context);
19
Geoff Lang0a73dd82014-11-19 16:18:08 -050020#endif // COMPILER_TRANSLATOR_GLSLANG_H_