mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-11 06:28:09 +02:00
nir: fix MSVC build
Zero initialize struct with {0} instead of {}.
This commit is contained in:
parent
eb13211997
commit
4c160b6bd8
1 changed files with 1 additions and 1 deletions
|
|
@ -835,7 +835,7 @@ copy_prop_vars_block(struct copy_prop_var_state *state,
|
|||
*/
|
||||
kill_aliases(copies, nir_deref_instr_parent(dst), 0xf);
|
||||
} else {
|
||||
struct value value = {};
|
||||
struct value value = {0};
|
||||
value_set_ssa_components(&value, intrin->src[1].ssa,
|
||||
intrin->num_components);
|
||||
unsigned wrmask = nir_intrinsic_write_mask(intrin);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue