blob: dcf3af1b796fb1ba1fe934f17892b4b4e816f15e [file] [log] [blame]
daniel@transgaming.comf4d9fef2012-12-20 21:12:13 +00001//
shannon.woods@transgaming.comfe3c0ef2013-02-28 23:17:22 +00002// Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
daniel@transgaming.comf4d9fef2012-12-20 21:12:13 +00003// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6
7#include "compiler/Uniform.h"
8
9namespace sh
10{
11
shannon.woods@transgaming.comfe3c0ef2013-02-28 23:17:22 +000012Uniform::Uniform(GLenum type, GLenum precision, const char *name, int arraySize, int registerIndex)
daniel@transgaming.comf4d9fef2012-12-20 21:12:13 +000013{
14 this->type = type;
shannon.woods@transgaming.comfe3c0ef2013-02-28 23:17:22 +000015 this->precision = precision;
daniel@transgaming.comf4d9fef2012-12-20 21:12:13 +000016 this->name = name;
17 this->arraySize = arraySize;
18 this->registerIndex = registerIndex;
19}
20
21}