blob: e54c31ba3e3286478eb60a42bbcbbd27974d4653 [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
Jamie Madill45bcc782016-11-07 13:58:48 -050010namespace sh
11{
Jamie Madill6e06b1f2015-05-14 10:01:17 -040012class TParseContext;
Jamie Madill45bcc782016-11-07 13:58:48 -050013}
14
15extern int glslang_initialize(sh::TParseContext *context);
16extern int glslang_finalize(sh::TParseContext *context);
alokp@chromium.org044a5cf2010-11-12 15:42:16 +000017
shannon.woods@transgaming.comd64b3da2013-02-28 23:19:26 +000018extern int glslang_scan(size_t count,
Jamie Madill45bcc782016-11-07 13:58:48 -050019 const char *const string[],
alokp@chromium.org408c45e2012-04-05 15:54:43 +000020 const int length[],
Jamie Madill45bcc782016-11-07 13:58:48 -050021 sh::TParseContext *context);
22extern int glslang_parse(sh::TParseContext *context);
alokp@chromium.org044a5cf2010-11-12 15:42:16 +000023
Jamie Madilld7b1ab52016-12-12 14:42:19 -050024#endif // COMPILER_TRANSLATOR_GLSLANG_H_