From fc99a3beb92326caacbbb231d2f2090bee48b1f7 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Thu, 7 Oct 2010 16:05:39 -0700 Subject: glsl: Add glsl_type::uvecN_type for N=2,3 Reviewed-by: Ian Romanick --- src/glsl/builtin_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/glsl/builtin_types.h') 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]; /*@}*/ -- cgit v1.2.3