nir: add glsl_double_type() helper

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Timothy Arceri
2016-06-10 12:50:45 +10:00
parent 9d9b0b54cd
commit 20e935e6f6
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -250,6 +250,12 @@ glsl_float_type(void)
return glsl_type::float_type;
}
const glsl_type *
glsl_double_type(void)
{
return glsl_type::double_type;
}
const glsl_type *
glsl_vec_type(unsigned n)
{
+1
View File
@@ -117,6 +117,7 @@ bool glsl_sampler_type_is_array(const struct glsl_type *type);
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_vec4_type(void);
const struct glsl_type *glsl_int_type(void);