summaryrefslogtreecommitdiff
path: root/lib/mesa/src/compiler/nir
diff options
context:
space:
mode:
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