blob: 1e16b2605e4d22158deffa22200c27a161c7a83d [file] [log] [blame]
alokp@chromium.org76b82082010-03-24 17:59:39 +00001//
2// Copyright (c) 2002-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_TRANSLATORGLSL_H_
8#define COMPILER_TRANSLATORGLSL_H_
9
Geoff Lang17732822013-08-29 13:46:49 -040010#include "compiler/translator/ShHandle.h"
alokp@chromium.org76b82082010-03-24 17:59:39 +000011
12class TranslatorGLSL : public TCompiler {
13public:
alokp@chromium.org4888ceb2010-10-01 21:13:12 +000014 TranslatorGLSL(ShShaderType type, ShShaderSpec spec);
alokp@chromium.org07620a52010-09-23 17:53:56 +000015
16protected:
17 virtual void translate(TIntermNode* root);
Nicolas Capens46485082014-04-15 13:12:50 -040018
19private:
20 void writeExtensionBehavior();
alokp@chromium.org76b82082010-03-24 17:59:39 +000021};
22
23#endif // COMPILER_TRANSLATORGLSL_H_