Searched refs:state_params (Results 1 – 3 of 3) sorted by relevance
411 struct gl_program_parameter_list *state_params) in _mesa_add_separate_state_parameters() argument413 unsigned num_state_params = state_params->NumParameters; in _mesa_add_separate_state_parameters()417 assert(state_params->Parameters[i].Type == PROGRAM_STATE_VAR); in _mesa_add_separate_state_parameters()418 assert(state_params->Parameters[i].Size == 4); in _mesa_add_separate_state_parameters()419 assert(state_params->Parameters[i].ValueOffset == i * 4); in _mesa_add_separate_state_parameters()423 qsort(state_params->Parameters, num_state_params, in _mesa_add_separate_state_parameters()424 sizeof(state_params->Parameters[0]), compare_state_var); in _mesa_add_separate_state_parameters()429 unsigned old_index = state_params->Parameters[i].ValueOffset / 4; in _mesa_add_separate_state_parameters()433 state_params->Parameters[i].Name, in _mesa_add_separate_state_parameters()434 state_params->Parameters[i].Size, in _mesa_add_separate_state_parameters()[all …]
150 struct gl_program_parameter_list *state_params);
314 struct gl_program_parameter_list *state_params; member435 idx = _mesa_add_state_reference(p->state_params, tokens); in register_param4()1735 p.state_params = _mesa_new_parameter_list(); in create_new_program()1739 _mesa_add_separate_state_parameters(p.program, p.state_params); in create_new_program()1740 _mesa_free_parameter_list(p.state_params); in create_new_program()