Home
last modified time | relevance | path

Searched refs:first_param (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/mesa/program/
Dprog_statevars.c1419 for (int first_param = list->FirstStateVarIndex; in _mesa_optimize_state_parameters() local
1420 first_param < (int)list->NumParameters; first_param++) { in _mesa_optimize_state_parameters()
1421 int last_param = first_param; in _mesa_optimize_state_parameters()
1424 switch (list->Parameters[first_param].StateIndexes[0]) { in _mesa_optimize_state_parameters()
1446 if (list->Parameters[first_param].Size % 4) in _mesa_optimize_state_parameters()
1450 for (int i = first_param + 1; i < (int)list->NumParameters; i++) { in _mesa_optimize_state_parameters()
1463 if (last_param > first_param) { in _mesa_optimize_state_parameters()
1464 int first_vec = list->Parameters[first_param].StateIndexes[2]; in _mesa_optimize_state_parameters()
1468 assert(last_vec - first_vec == last_param - first_param); in _mesa_optimize_state_parameters()
1471 list->Parameters[first_param].StateIndexes[3] = last_vec; in _mesa_optimize_state_parameters()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dast_function.cpp1457 ir_rvalue *first_param = (ir_rvalue *)parameters->get_head_raw(); in emit_inline_vector_constructor() local
1458 ir_rvalue *rhs = new(ctx) ir_swizzle(first_param, 0, 0, 0, 0, in emit_inline_vector_constructor()
1660 ir_rvalue *const first_param = (ir_rvalue *) parameters->get_head_raw(); in emit_inline_matrix_constructor() local
1665 glsl_base_type param_base_type = first_param->type->base_type; in emit_inline_matrix_constructor()
1666 assert(first_param->type->is_float() || first_param->type->is_double()); in emit_inline_matrix_constructor()
1675 if (first_param->type->is_float()) in emit_inline_matrix_constructor()
1688 inst = new(ctx) ir_assignment(rhs_ref, first_param, 0x01); in emit_inline_matrix_constructor()
1731 } else if (first_param->type->is_matrix()) { in emit_inline_matrix_constructor()
1741 assert(first_param->next->is_tail_sentinel()); in emit_inline_matrix_constructor()
1742 ir_rvalue *const src_matrix = first_param; in emit_inline_matrix_constructor()
[all …]
/third_party/python/Lib/test/
Dtest_posix.py710 def _test_all_chown_common(self, chown_func, first_param, stat_func): argument
714 stat = stat_func(first_param)
720 chown_func(first_param, uid, gid)
722 chown_func(first_param, -1, gid)
724 chown_func(first_param, uid, -1)
751 chown_func(first_param, big_value, big_value)
753 chown_func(first_param, -1, -1)
755 chown_func(first_param, uid, gid)
764 self.assertRaises(OSError, chown_func, first_param, 0, 0)
766 self.assertRaises(OSError, chown_func, first_param, 0, -1)
[all …]
/third_party/python/Lib/email/
D_header_value_parser.py745 first_param = parts[0][1]
746 charset = first_param.charset
750 if not first_param.extended and len(parts) > 1: