Searched refs:state_params (Results 1 – 3 of 3) sorted by relevance
572 struct gl_program_parameter_list *state_params) in _mesa_add_separate_state_parameters() argument574 unsigned num_state_params = state_params->NumParameters; in _mesa_add_separate_state_parameters()578 assert(state_params->Parameters[i].Type == PROGRAM_STATE_VAR); in _mesa_add_separate_state_parameters()579 assert(state_params->Parameters[i].Size == 4); in _mesa_add_separate_state_parameters()580 assert(state_params->Parameters[i].ValueOffset == i * 4); in _mesa_add_separate_state_parameters()584 qsort(state_params->Parameters, num_state_params, in _mesa_add_separate_state_parameters()585 sizeof(state_params->Parameters[0]), compare_state_var); in _mesa_add_separate_state_parameters()590 unsigned old_index = state_params->Parameters[i].ValueOffset / 4; in _mesa_add_separate_state_parameters()594 state_params->Parameters[i].Name, in _mesa_add_separate_state_parameters()595 state_params->Parameters[i].Size, in _mesa_add_separate_state_parameters()[all …]
166 struct gl_program_parameter_list *state_params);
302 struct gl_program_parameter_list *state_params; member423 idx = _mesa_add_state_reference(p->state_params, tokens); in register_param4()1681 p.state_params = _mesa_new_parameter_list(); in create_new_program()1685 _mesa_add_separate_state_parameters(p.program, p.state_params); in create_new_program()1686 _mesa_free_parameter_list(p.state_params); in create_new_program()