summaryrefslogtreecommitdiff
path: root/src/compiler/nir_types.h
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-06-15 10:43:12 +1000
committerKenneth Graunke <kenneth@whitecape.org>2016-07-06 23:20:23 -0700
commit7a9d6abcae63a6f837fa161246ecf1f14840e77b (patch)
tree15e29e5fd0e1b81868309e01edd82674582218b6 /src/compiler/nir_types.h
parent13affe0d3f2756771edfab301f31dc69185f91f7 (diff)
nir: add glsl_dvec_type() helper
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/compiler/nir_types.h')
-rw-r--r--src/compiler/nir_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir_types.h b/src/compiler/nir_types.h
index c505ac02c27..6b4f646b20b 100644
--- a/src/compiler/nir_types.h
+++ b/src/compiler/nir_types.h
@@ -119,6 +119,7 @@ const struct glsl_type *glsl_void_type(void);
const struct glsl_type *glsl_float_type(void);
const struct glsl_type *glsl_double_type(void);
const struct glsl_type *glsl_vec_type(unsigned n);
+const struct glsl_type *glsl_dvec_type(unsigned n);
const struct glsl_type *glsl_vec4_type(void);
const struct glsl_type *glsl_int_type(void);
const struct glsl_type *glsl_uint_type(void);