Lines Matching defs:parameters
37 exec_list *parameters,
43 foreach_list_typed(ast_node, ast, link, parameters) {
44 /* We need to process the parameters first in order to know if we can
78 * \param parameters List of \c ir_instruction nodes representing the
88 exec_list *parameters)
98 foreach_in_list(const ir_variable, param, parameters) {
116 * to functions whose formal parameters lack such
217 * Verify that 'out' and 'inout' actual parameters are lvalues. Also, verify
218 * that 'const_in' formal parameters (an extension in our IR) correspond to
219 * ir_constant actual parameters.
230 foreach_in_list(const ir_variable, formal, &sig->parameters) {
241 /* Verify that 'const_in' parameters are ir_constants. */
250 /* Verify that shader_in parameters are shader inputs */
289 /* Verify that 'out' and 'inout' actual parameters are lvalues. */
494 * here because inout parameters must match types exactly.
497 /* Inout parameters should never require conversion, since that would
554 /* Perform implicit conversion of arguments. For out parameters, we need
559 foreach_two_lists(formal_node, &sig->parameters,
820 &sig->parameters);
861 * Perform automatic type conversion of constructor parameters
1082 * Perform automatic type and constant conversion of constructor parameters
1182 YYLTYPE *loc, exec_list *parameters,
1203 process_parameters(instructions, &actual_parameters, parameters, state);
1210 _mesa_glsl_error(loc, state, "%s constructor must have %u parameters",
1223 * parameters to the constructor are trivially constant valued
1283 YYLTYPE *loc, exec_list *parameters,
1289 * variables. In this case the number of parameters must exactly match the
1294 * is determined by the number of parameters.
1309 process_parameters(instructions, &actual_parameters, parameters, state);
1340 * parameters to the constructor are trivially constant valued
1347 /* As the inner parameters of the constructor are created without
1349 * parameters of unsized constructors all end up with the same size.
1411 single_scalar_parameter(exec_list *parameters)
1413 const ir_rvalue *const p = (ir_rvalue *) parameters->get_head_raw();
1425 * from constructor parameters to the temporary will follow.
1434 exec_list *parameters,
1437 assert(!parameters->is_empty());
1452 * scalars. The components of the constructor parameters are assigned
1456 if (single_scalar_parameter(parameters)) {
1457 ir_rvalue *first_param = (ir_rvalue *)parameters->get_head_raw();
1475 foreach_in_list(ir_rvalue, param, parameters) {
1540 foreach_in_list(ir_rvalue, param, parameters) {
1629 * from constructor parameters to the temporary will follow.
1638 exec_list *parameters,
1641 assert(!parameters->is_empty());
1653 * scalars. The components of the constructor parameters are assigned
1660 ir_rvalue *const first_param = (ir_rvalue *) parameters->get_head_raw();
1661 if (single_scalar_parameter(parameters)) {
1847 foreach_in_list(ir_rvalue, rhs, parameters) {
1887 /* Sometimes, there is still data left in the parameters and
1906 exec_list *parameters,
1916 exec_node *node = parameters->get_head_raw();
1940 YYLTYPE *loc, exec_list *parameters,
1964 process_parameters(instructions, &actual_parameters, parameters,
1969 "%s parameters in constructor for `%s'",
1988 * parameters to the constructor are trivially constant valued
2178 * free form. The only requirements are that the parameters must provide
2198 /* Number of components from parameters that have actually been
2216 _mesa_glsl_error(& loc, state, "too many parameters to `%s' "
2229 /* Count the number of matrix and nonmatrix parameters. This
2362 * After doing so, track whether or not all the parameters to the
2377 /* If all of the parameters are trivially constant, create a
2378 * constant representing the complete collection of parameters.