diff options
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/nir/nir_opt_copy_prop_vars.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/compiler/nir/nir_opt_copy_prop_vars.c b/src/compiler/nir/nir_opt_copy_prop_vars.c index 19003ccbd86..94bc8affd9e 100644 --- a/src/compiler/nir/nir_opt_copy_prop_vars.c +++ b/src/compiler/nir/nir_opt_copy_prop_vars.c @@ -451,10 +451,12 @@ load_element_from_ssa_entry_value(struct copy_prop_var_state *state, *value = (struct value) { .is_ssa = true, - .ssa = { - .def = { def }, - .component = { 0 }, - }, + { + .ssa = { + .def = { def }, + .component = { 0 }, + }, + } }; return true; |