diff options
Diffstat (limited to 'src/compiler/Uniform.cpp')
-rw-r--r-- | src/compiler/Uniform.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/compiler/Uniform.cpp b/src/compiler/Uniform.cpp new file mode 100644 index 00000000..dcf3af1b --- /dev/null +++ b/src/compiler/Uniform.cpp @@ -0,0 +1,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;
+}
+
+}
|