diff options
author | Matt Turner <[email protected]> | 2014-02-03 11:51:51 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-02-06 10:36:54 -0800 |
commit | e2ef93cf94ee553e5de70a7c26fd0724d967d0b2 (patch) | |
tree | 983a09825af0286a6ed0beffb1d624ef865f1569 | |
parent | 559af1df10e1390a49ff7b5ed37b4d44a0fcc9cb (diff) |
glsl: Initialize ubo_binding_mask flags to zero.
Missed in commit e63bb298. Caused sporadic test failures, like
incorrect-in-layout-qualifier-repeated-prim.geom.
Cc: "10.0" <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
-rw-r--r-- | src/glsl/ast_type.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ast_type.cpp b/src/glsl/ast_type.cpp index fe11508a0a4..bbc43080801 100644 --- a/src/glsl/ast_type.cpp +++ b/src/glsl/ast_type.cpp @@ -118,6 +118,7 @@ ast_type_qualifier::merge_qualifier(YYLTYPE *loc, ubo_layout_mask.flags.q.shared = 1; ast_type_qualifier ubo_binding_mask; + ubo_binding_mask.flags.i = 0; ubo_binding_mask.flags.q.explicit_binding = 1; ubo_binding_mask.flags.q.explicit_offset = 1; |