Lines Matching refs:VPpli
935 struct ureg VPpli, in calculate_light_attenuation() argument
952 emit_op2(p, OPCODE_DP3, spot, 0, negate(VPpli), spot_dir_norm); in calculate_light_attenuation()
1110 struct ureg att = undef, VPpli = undef; in build_lighting() local
1115 VPpli = register_param3(p, STATE_INTERNAL, in build_lighting()
1122 VPpli = get_temp(p); in build_lighting()
1127 emit_op2(p, OPCODE_SUB, VPpli, 0, Ppli, V); in build_lighting()
1132 emit_op2(p, OPCODE_DP3, dist, 0, VPpli, VPpli); in build_lighting()
1134 emit_op2(p, OPCODE_MUL, VPpli, 0, VPpli, dist); in build_lighting()
1139 att = calculate_light_attenuation(p, i, VPpli, dist); in build_lighting()
1148 emit_op2(p, OPCODE_SUB, half, 0, VPpli, eye_hat); in build_lighting()
1156 emit_op2(p, OPCODE_ADD, half, 0, VPpli, z_dir); in build_lighting()
1164 emit_op2(p, OPCODE_DP3, dots, 0, normal, VPpli); in build_lighting()
1167 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_X, normal, VPpli); in build_lighting()
1290 release_temp(p, VPpli); in build_lighting()