Lines Matching refs:Parameters

56       p->Parameters = (struct gl_program_parameter *)  in _mesa_new_parameter_list_sized()
63 if ((p->Parameters == NULL) || (p->ParameterValues == NULL)) { in _mesa_new_parameter_list_sized()
64 free(p->Parameters); in _mesa_new_parameter_list_sized()
83 if (paramList->Parameters[i].Name) in _mesa_free_parameter_list()
84 free((void *) paramList->Parameters[i].Name); in _mesa_free_parameter_list()
86 free(paramList->Parameters); in _mesa_free_parameter_list()
126 paramList->Parameters = (struct gl_program_parameter *) in _mesa_add_parameter()
127 _mesa_realloc(paramList->Parameters, in _mesa_add_parameter()
138 if (!paramList->Parameters || in _mesa_add_parameter()
150 memset(&paramList->Parameters[oldNum], 0, in _mesa_add_parameter()
154 struct gl_program_parameter *p = paramList->Parameters + oldNum + i; in _mesa_add_parameter()
175 paramList->Parameters[oldNum].StateIndexes[i] = state[i]; in _mesa_add_parameter()
220 strcmp(paramList->Parameters[pos].Name, name) == 0) { in _mesa_add_named_constant()
264 struct gl_program_parameter *p = paramList->Parameters + pos; in _mesa_add_typed_unnamed_constant()
320 if (i >= 0 && paramList->Parameters[i].Type == PROGRAM_VARYING) { in _mesa_add_varying()
347 paramList->Parameters[i].StateIndexes[0] = attrib; in _mesa_add_attribute()
405 if (!memcmp(paramList->Parameters[index].StateIndexes, in _mesa_add_state_reference()
460 if (paramList->Parameters[i].Name && in _mesa_lookup_parameter_index()
461 strcmp(paramList->Parameters[i].Name, name) == 0) in _mesa_lookup_parameter_index()
468 if (paramList->Parameters[i].Name && in _mesa_lookup_parameter_index()
469 strncmp(paramList->Parameters[i].Name, name, nameLen) == 0 in _mesa_lookup_parameter_index()
470 && strlen(paramList->Parameters[i].Name) == (size_t)nameLen) in _mesa_lookup_parameter_index()
506 if (list->Parameters[i].Type == PROGRAM_CONSTANT) { in _mesa_lookup_parameter_constant()
524 for (j = 0; j < list->Parameters[i].Size; j++) { in _mesa_lookup_parameter_constant()
533 else if (vSize <= list->Parameters[i].Size) { in _mesa_lookup_parameter_constant()
543 for (k = 0; k < list->Parameters[i].Size; k++) { in _mesa_lookup_parameter_constant()
583 struct gl_program_parameter *p = list->Parameters + i; in _mesa_clone_parameter_list()
589 pCopy = clone->Parameters + j; in _mesa_clone_parameter_list()
599 clone->Parameters[j].Size = p->Size; in _mesa_clone_parameter_list()
624 struct gl_program_parameter *param = listB->Parameters + i; in _mesa_combine_parameter_lists()
653 if (list->Parameters[i].Type == type) in _mesa_num_parameters_of_type()