Edit

kc3-lang/angle/src/compiler/Uniform.cpp

Branch :

  • Show log

    Commit

  • Author : shannon.woods@transgaming.com
    Date : 2013-02-28 23:17:22
    Hash : fe3c0ef0
    Message : Store the precision of uniforms. TRAC #22635 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1940 736b8ea6-26fd-11df-bfd4-992fa37f6226

  • src/compiler/Uniform.cpp
  • //
    // Copyright (c) 2013 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.
    //
    
    #include "compiler/Uniform.h"
    
    namespace sh
    {
    
    Uniform::Uniform(GLenum type, GLenum precision, const char *name, int arraySize, int registerIndex)
    {
        this->type = type;
        this->precision = precision;
        this->name = name;
        this->arraySize = arraySize;
        this->registerIndex = registerIndex;
    }
    
    }