glsl: Add glsl_type::uvecN_type for N=2,3

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Chad Versace 2010-10-07 16:05:39 -07:00 committed by Ian Romanick
parent a34817917b
commit fc99a3beb9
2 changed files with 4 additions and 0 deletions

View File

@ -251,6 +251,8 @@ const glsl_type glsl_type::builtin_130_types[] = {
};
const glsl_type *const glsl_type::uint_type = & builtin_130_types[0];
const glsl_type *const glsl_type::uvec2_type = & builtin_130_types[1];
const glsl_type *const glsl_type::uvec3_type = & builtin_130_types[2];
const glsl_type *const glsl_type::uvec4_type = & builtin_130_types[3];
/*@}*/

View File

@ -149,6 +149,8 @@ struct glsl_type {
static const glsl_type *const int_type;
static const glsl_type *const ivec4_type;
static const glsl_type *const uint_type;
static const glsl_type *const uvec2_type;
static const glsl_type *const uvec3_type;
static const glsl_type *const uvec4_type;
static const glsl_type *const float_type;
static const glsl_type *const vec2_type;