Edit

kc3-lang/angle/src/compiler/TranslatorGLSL.h

Branch :

  • Show log

    Commit

  • Author : alokp@chromium.org
    Date : 2010-09-23 17:53:56
    Hash : 07620a58
    Message : - Moved the implementation for ShCompile to the compiler class so that internal details about compiler can be encapsulated. Now we do not need to expose built-in symbol table. - Fixed a few const violations. - Added CollectAttribsUniforms class. BUG=26 Review URL: http://codereview.appspot.com/2263041 git-svn-id: https://angleproject.googlecode.com/svn/trunk@437 736b8ea6-26fd-11df-bfd4-992fa37f6226

  • src/compiler/TranslatorGLSL.h
  • //
    // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    
    #ifndef COMPILER_TRANSLATORGLSL_H_
    #define COMPILER_TRANSLATORGLSL_H_
    
    #include "compiler/ShHandle.h"
    
    class TranslatorGLSL : public TCompiler {
    public:
        TranslatorGLSL(EShLanguage lang, EShSpec spec);
    
    protected:
        virtual void translate(TIntermNode* root);
    };
    
    #endif  // COMPILER_TRANSLATORGLSL_H_