summaryrefslogtreecommitdiff
path: root/lib/mesa/src/compiler/nir
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-03-19 10:59:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-03-19 10:59:05 +0000
commit036675986b3a8c69c5f16cef61eeb357f0e9034c (patch)
treea05ed7bf3cb60adf336881b35c60557ed58e4f2e /lib/mesa/src/compiler/nir
parentc6c89f3d145af6172506336c12c4fed4d05956b6 (diff)
Merge Mesa 18.3.5
Diffstat (limited to 'lib/mesa/src/compiler/nir')
-rw-r--r--lib/mesa/src/compiler/nir/nir_opt_copy_prop_vars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/compiler/nir/nir_opt_copy_prop_vars.c b/lib/mesa/src/compiler/nir/nir_opt_copy_prop_vars.c
index 422662eb8..c6c0b82ec 100644
--- a/lib/mesa/src/compiler/nir/nir_opt_copy_prop_vars.c
+++ b/lib/mesa/src/compiler/nir/nir_opt_copy_prop_vars.c
@@ -643,7 +643,7 @@ copy_prop_vars_block(struct copy_prop_var_state *state,
struct copy_entry *src_entry =
lookup_entry_for_deref(copies, src, nir_derefs_a_contains_b_bit);
- struct value value;
+ struct value value = {0};
if (try_load_from_entry(state, src_entry, b, intrin, src, &value)) {
if (value.is_ssa) {
/* lookup_load has already ensured that we get a single SSA