Lines Matching refs:name
44 program_resource_visitor::process(const glsl_type *type, const char *name,
51 char *name_copy = ralloc_strdup(NULL, name);
56 recursion(type, &name_copy, strlen(name), false, NULL, packing, false,
91 char *name = ralloc_strdup(NULL, var->name);
92 recursion(var->type, &name, strlen(name), row_major, NULL, packing,
94 ralloc_free(name);
96 char *name = ralloc_strdup(NULL, t_without_array->name);
99 fields.structure[t_without_array->field_index(var->name)] : NULL;
101 recursion(t, &name, strlen(name), row_major, NULL, packing,
103 ralloc_free(name);
106 this->visit_field(t, var->name, row_major, NULL, packing, false);
111 program_resource_visitor::recursion(const glsl_type *t, char **name,
126 ralloc_asprintf_rewrite_tail(name, &name_length, ".%s",
127 named_ifc_member->name);
128 recursion(named_ifc_member->type, name, name_length, row_major, NULL,
135 this->enter_record(t, *name, row_major, packing);
138 const char *field = t->fields.structure[i].name;
144 /* Append '.field' to the current variable name. */
146 ralloc_asprintf_rewrite_tail(name, &new_length, "%s", field);
148 ralloc_asprintf_rewrite_tail(name, &new_length, ".%s", field);
166 recursion(t->fields.structure[i].type, name, new_length,
179 (*name)[name_length] = '\0';
180 this->leave_record(t, *name, row_major, packing);
201 /* Append the subscript to the current variable name */
202 ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]", i);
204 recursion(t->fields.array, name, new_length, row_major,
217 this->visit_field(t, *name, row_major, record_type, packing, last_field);