summaryrefslogtreecommitdiff
path: root/src/glsl/builtin_types.h
diff options
context:
space:
mode:
authorChad Versace <chad@chad-versace.us>2010-10-07 16:05:39 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-10-11 14:25:44 -0700
commitfc99a3beb92326caacbbb231d2f2090bee48b1f7 (patch)
tree6133f35174e9a4eeb0509d8e40e883bb38d1516e /src/glsl/builtin_types.h
parenta34817917bd8c408d8f732c24b4eb586f666d6c1 (diff)
glsl: Add glsl_type::uvecN_type for N=2,3
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/glsl/builtin_types.h')
-rw-r--r--src/glsl/builtin_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/builtin_types.h b/src/glsl/builtin_types.h
index 6dabbf0d32..7175e08afb 100644
--- a/src/glsl/builtin_types.h
+++ b/src/glsl/builtin_types.h
@@ -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];
/*@}*/