From 20e935e6f62174fc6196241c2b026e9f45345549 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 10 Jun 2016 12:50:45 +1000 Subject: nir: add glsl_double_type() helper Reviewed-by: Kenneth Graunke --- src/compiler/nir_types.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/compiler/nir_types.cpp') diff --git a/src/compiler/nir_types.cpp b/src/compiler/nir_types.cpp index 4ea7a2fcd38..2d46ed2a1ef 100644 --- a/src/compiler/nir_types.cpp +++ b/src/compiler/nir_types.cpp @@ -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) { -- cgit v1.2.3