summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/angle/src/compiler/Uniform.cpp
blob: f367db2be8e4ff5d139c0e71c8bab84c74d47fdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// 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;
}

}