Lines Matching defs:input
447 * \param input one of VERT_ATTRIB_x tokens.
449 static struct ureg register_input( struct tnl_program *p, GLuint input )
451 assert(input < VERT_ATTRIB_MAX);
453 if (p->state->varying_vp_inputs & VERT_BIT(input)) {
454 p->program->info.inputs_read |= (uint64_t)VERT_BIT(input);
455 return make_ureg(PROGRAM_INPUT, input);
458 return register_param2(p, STATE_CURRENT_ATTRIB, input);
464 * \param input one of VARYING_SLOT_x tokens.
645 /* Currently no tracking performed of input/output/register size or
711 GLuint input,
715 emit_op1(p, OPCODE_MOV, out, 0, register_input(p, input));
1391 struct ureg input;
1396 input = get_eye_position(p);
1397 emit_op2(p, OPCODE_DP3, tmp, WRITEMASK_X, input, input);
1403 input = get_eye_position_z(p);
1404 emit_op1(p, OPCODE_MOV, fog, WRITEMASK_X, input);
1407 input = get_eye_position_z(p);
1408 emit_op1(p, OPCODE_ABS, fog, WRITEMASK_X, input);
1411 input = swizzle1(register_input(p, VERT_ATTRIB_FOG), X);
1412 emit_op1(p, OPCODE_ABS, fog, WRITEMASK_X, input);