summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-12-23 09:56:03 -0800
committerIan Romanick <[email protected]>2012-01-06 14:32:50 -0800
commitfa0a9ac5cdf49865cfc289c4326c73c9dd4a61c5 (patch)
tree6e0eb68b1d701086f32494e88e90fc8c70356c29 /src/glsl/glsl_parser_extras.cpp
parentc87247f6a8c5505fea3fa29dac372f9f5316a118 (diff)
glsl: Track descriptions of some expressions that can't be l-values
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.cpp')
-rw-r--r--src/glsl/glsl_parser_extras.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 0b4ccac531d..0b53232e9e7 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -626,6 +626,7 @@ ast_expression::ast_expression(int oper,
this->subexpressions[0] = ex0;
this->subexpressions[1] = ex1;
this->subexpressions[2] = ex2;
+ this->non_lvalue_description = NULL;
}