Lines Matching defs:members
768 /* iterate over all the members in the struct, stopping once the slot idx is reached */
1732 /* writing > 4 components: access the struct and write to the appropriate vec4 members */
1804 /* writing > 4 components: access the struct and load the appropriate vec4 members */
1851 nir_variable *members[32]; //can't have more than this without breaking NIR
1861 members[i] = nir_variable_clone(var, nir);
1862 members[i]->type = glsl_get_struct_field(var->type, i);
1863 members[i]->name = (void*)glsl_get_struct_elem_name(var->type, i);
1864 members[i]->data.location += offset;
1865 offset += glsl_count_attribute_slots(members[i]->type, false);
1866 nir_shader_add_variable(nir, members[i]);
1891 nir_ssa_def *dest = &nir_build_deref_var(&b, members[deref->strct.index])->dest.ssa;