blob: 301227e5ff3c80c30ac035a91d3e3e5f8022f04f [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
Jamie Madilld4a3a312014-06-25 16:04:56 -040010#include "compiler/translator/Compiler.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_