glsl/ast: Support double floats
[mesa.git] / src / glsl / ast.h
index 6995ae83b9131dbec45c08d10deb2dd945989314..ef74e5137b2777b54e1dc8e47583260ee3c5370c 100644 (file)
@@ -189,6 +189,7 @@ enum ast_operators {
    ast_uint_constant,
    ast_float_constant,
    ast_bool_constant,
+   ast_double_constant,
 
    ast_sequence,
    ast_aggregate
@@ -236,6 +237,7 @@ public:
       float float_constant;
       unsigned uint_constant;
       int bool_constant;
+      double double_constant;
    } primary_expression;