Module: Mesa
Branch: glsl2
Commit: 3832706f81d7f5310882eda6d7ef0c3e39593b18
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3832706f81d7f5310882eda6d7ef0c3e39593b18

Author: Ian Romanick <[email protected]>
Date:   Thu Jul  1 17:10:11 2010 -0700

glsl2: Initialize ast_declarator_list::invariant in constructor

---

 src/glsl/glsl_parser_extras.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 1d16ef5..2e17c4c 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -484,6 +484,7 @@ ast_declarator_list::print(void) const
 ast_declarator_list::ast_declarator_list(ast_fully_specified_type *type)
 {
    this->type = type;
+   this->invariant = false;
 }
 
 void

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to