michael@0: // michael@0: // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: // michael@0: michael@0: #ifndef COMPILER_UNIFORM_H_ michael@0: #define COMPILER_UNIFORM_H_ michael@0: michael@0: #include michael@0: #include michael@0: michael@0: #define GL_APICALL michael@0: #include michael@0: michael@0: namespace sh michael@0: { michael@0: michael@0: struct Uniform michael@0: { michael@0: Uniform(GLenum type, GLenum precision, const char *name, int arraySize, int registerIndex); michael@0: michael@0: GLenum type; michael@0: GLenum precision; michael@0: std::string name; michael@0: unsigned int arraySize; michael@0: michael@0: int registerIndex; michael@0: }; michael@0: michael@0: typedef std::vector ActiveUniforms; michael@0: michael@0: } michael@0: michael@0: #endif // COMPILER_UNIFORM_H_