Lines Matching refs:half
1120 struct ureg half = undef;
1158 half = get_temp(p);
1159 emit_op2(p, OPCODE_SUB, half, 0, VPpli, eye_hat);
1160 emit_normalize_vec3(p, half, half);
1162 half = register_param3(p, STATE_INTERNAL,
1166 half = get_temp(p);
1167 emit_op2(p, OPCODE_ADD, half, 0, VPpli, z_dir);
1168 emit_normalize_vec3(p, half, half);
1179 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_Y, normal, half);
1300 release_temp(p, half);
1371 struct ureg half = register_scalar_const(p, .5);
1397 emit_op2(p, OPCODE_MUL, inv_m, 0, tmp, half);
1399 emit_op3(p, OPCODE_MAD, dest, writemask, r, inv_m, half);