summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glsl/builtin_types.h2
-rw-r--r--src/glsl/glsl_types.h2
2 files changed, 4 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];
/*@}*/
diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h
index 4f7d2f74af..dccab0a60d 100644
--- a/src/glsl/glsl_types.h
+++ b/src/glsl/glsl_types.h
@@ -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;