egl/entrypoint-check: split sort-check into a function
[mesa.git] / src / compiler / glsl_types.h
index 4654ad7cf573371c719c185b6b016d1142bf8fa9..df5ca4629e5b1c266f97430c9f19036bc90e330e 100644 (file)
@@ -811,6 +811,14 @@ public:
       return base_type == GLSL_TYPE_FLOAT16 || is_float() || is_double();
    }
 
+   /**
+    * Query whether or not a type is a float or double
+    */
+   bool is_float_32_64() const
+   {
+      return is_float() || is_double();
+   }
+
    bool is_int_16_32_64() const
    {
       return base_type == GLSL_TYPE_INT16 ||