Lines Matching defs:VPpli
951 struct ureg VPpli,
967 emit_op2(p, OPCODE_DP3, spot, 0, negate(VPpli), spot_dir_norm);
1055 * dots.x = dot(normal, VPpli)
1178 struct ureg att = undef, VPpli = undef;
1183 VPpli = register_param2(p, STATE_LIGHT_POSITION_NORMALIZED, i);
1188 VPpli = get_temp(p);
1191 /* Calculate VPpli vector
1193 emit_op2(p, OPCODE_SUB, VPpli, 0, Ppli, V);
1195 /* Normalize VPpli. The dist value also used in
1198 emit_op2(p, OPCODE_DP3, dist, 0, VPpli, VPpli);
1200 emit_op2(p, OPCODE_MUL, VPpli, 0, VPpli, dist);
1205 att = calculate_light_attenuation(p, i, VPpli, dist);
1214 emit_op2(p, OPCODE_SUB, half, 0, VPpli, eye_hat);
1221 emit_op2(p, OPCODE_ADD, half, 0, VPpli, z_dir);
1229 emit_op2(p, OPCODE_DP3, dots, 0, normal, VPpli);
1232 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_X, normal, VPpli);
1379 release_temp(p, VPpli);