summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-02-03 11:51:51 -0800
committerCarl Worth <[email protected]>2014-03-04 13:05:05 -0800
commitd37086c6fc2b47703ee89fd2eaf94ad51dccf52e (patch)
treee504ee2258e5db210576f550426e7b6be263bda3 /src
parentcfd8aed240583295374840f29d3f627c50e97216 (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]> (cherry picked from commit e2ef93cf94ee553e5de70a7c26fd0724d967d0b2)
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ast_type.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ast_type.cpp b/src/glsl/ast_type.cpp
index 2b088bf8b85..e2e25684d32 100644
--- a/src/glsl/ast_type.cpp
+++ b/src/glsl/ast_type.cpp
@@ -123,6 +123,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;