unsigned *varying_comp_info_size,
bool default_to_smooth_interp)
{
- unsigned store_varying_info_idx[MAX_VARYINGS_INCL_PATCH][4] = {0};
+ unsigned store_varying_info_idx[MAX_VARYINGS_INCL_PATCH][4] = {{0}};
unsigned num_of_comps_to_pack = 0;
/* Count the number of varying that can be packed and create a mapping
assert(producer->info.stage != MESA_SHADER_FRAGMENT);
assert(consumer->info.stage != MESA_SHADER_VERTEX);
- struct assigned_comps assigned_comps[MAX_VARYINGS_INCL_PATCH] = {0};
+ struct assigned_comps assigned_comps[MAX_VARYINGS_INCL_PATCH] = {{0}};
get_unmoveable_components_masks(&producer->outputs, assigned_comps,
producer->info.stage,
nir_metadata_require(impl, nir_metadata_dominance);
nir_shader *shader = impl->function->shader;
- nir_variable *old_inputs[MAX_VARYINGS_INCL_PATCH][4] = {0};
- nir_variable *new_inputs[MAX_VARYINGS_INCL_PATCH][4] = {0};
- nir_variable *old_outputs[MAX_VARYINGS_INCL_PATCH][4] = {0};
- nir_variable *new_outputs[MAX_VARYINGS_INCL_PATCH][4] = {0};
+ nir_variable *old_inputs[MAX_VARYINGS_INCL_PATCH][4] = {{0}};
+ nir_variable *new_inputs[MAX_VARYINGS_INCL_PATCH][4] = {{0}};
+ nir_variable *old_outputs[MAX_VARYINGS_INCL_PATCH][4] = {{0}};
+ nir_variable *new_outputs[MAX_VARYINGS_INCL_PATCH][4] = {{0}};
if (modes & nir_var_shader_in) {
/* Vertex shaders support overlapping inputs. We don't do those */