summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2015-02-05 12:04:58 +0200
committerIlia Mirkin <[email protected]>2015-02-19 00:28:34 -0500
commitba3bab264d039926be391dcd6020dbf1c6313c41 (patch)
treef1784f9ee19daa60b57928df87ff6e7e9e250321 /src/glsl/ast.h
parent24626444c3a21b984d023feba1843776c7f5c7ea (diff)
glsl/ast: Support double floats
Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r--src/glsl/ast.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index 6995ae83b91..ef74e5137b2 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -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;