i965: Have brw_imm_vf4() take the vector components as integer values.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_clip_util.c
index 263cfdcea852fd756d6324bb89e70aede869ec5f..10ec2667067108cdf5799779158102b6fa1faa88 100644 (file)
@@ -224,7 +224,7 @@ void brw_clip_interp_vertex( struct brw_clip_compile *c,
               vec1(t_nopersp),
               brw_imm_f(0));
       brw_IF(p, BRW_EXECUTE_1);
-      brw_MOV(p, t_nopersp, brw_imm_vf4(VF_ONE, VF_ZERO, VF_ZERO, VF_ZERO));
+      brw_MOV(p, t_nopersp, brw_imm_vf4(1, 0, 0, 0));
       brw_ENDIF(p);
 
       /* Now compute t_nopersp = t_nopersp.y/t_nopersp.x and broadcast it. */