michael@0: // michael@0: // Copyright (c) 2002-2011 The ANGLE Project Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: // michael@0: michael@0: #ifndef COMPILER_TRANSLATORESSL_H_ michael@0: #define COMPILER_TRANSLATORESSL_H_ michael@0: michael@0: #include "compiler/ShHandle.h" michael@0: michael@0: class TranslatorESSL : public TCompiler { michael@0: public: michael@0: TranslatorESSL(ShShaderType type, ShShaderSpec spec); michael@0: michael@0: protected: michael@0: virtual void translate(TIntermNode* root); michael@0: michael@0: private: michael@0: void writeExtensionBehavior(); michael@0: }; michael@0: michael@0: #endif // COMPILER_TRANSLATORESSL_H_