Lines Matching defs:half
1177 struct ureg half = undef;
1213 half = get_temp(p);
1214 emit_op2(p, OPCODE_SUB, half, 0, VPpli, eye_hat);
1215 emit_normalize_vec3(p, half, half);
1217 half = register_param2(p, STATE_LIGHT_HALF_VECTOR, i);
1220 half = get_temp(p);
1221 emit_op2(p, OPCODE_ADD, half, 0, VPpli, z_dir);
1222 emit_normalize_vec3(p, half, half);
1233 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_Y, normal, half);
1378 release_temp(p, half);
1449 struct ureg half = register_scalar_const(p, .5);
1475 emit_op2(p, OPCODE_MUL, inv_m, 0, tmp, half);
1477 emit_op3(p, OPCODE_MAD, dest, writemask, r, inv_m, half);