[965] Fix some indentation in brw_vs_tnl.c.
authorEric Anholt <eric@anholt.net>
Mon, 28 Jan 2008 06:21:01 +0000 (22:21 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 2 Feb 2008 00:02:36 +0000 (16:02 -0800)
src/mesa/drivers/dri/i965/brw_vs_tnl.c

index a777dc5aa192e04b49155922e3622b6643c33f41..73e56a58cf5490ae852303997f5723a04cdfcba7 100644 (file)
@@ -1003,15 +1003,15 @@ static void build_lighting( struct tnl_program *p )
                                               STATE_POSITION); 
            struct ureg V = get_eye_position(p);
            struct ureg dist = get_temp(p);
-       struct ureg tmpPpli = get_temp(p);
+           struct ureg tmpPpli = get_temp(p);
 
            VPpli = get_temp(p); 
            half = get_temp(p);
 
-       /* In homogeneous object coordinates
-        */
-       emit_op1(p, OPCODE_RCP, dist, 0, swizzle1(Ppli, W));
-       emit_op2(p, OPCODE_MUL, tmpPpli, 0, Ppli, dist);
+           /* In homogeneous object coordinates
+            */
+           emit_op1(p, OPCODE_RCP, dist, 0, swizzle1(Ppli, W));
+           emit_op2(p, OPCODE_MUL, tmpPpli, 0, Ppli, dist);
  
            /* Calulate VPpli vector
             */
@@ -1047,7 +1047,7 @@ static void build_lighting( struct tnl_program *p )
            emit_normalize_vec3(p, half, half);
 
            release_temp(p, dist);
-       release_temp(p, tmpPpli);
+           release_temp(p, tmpPpli);
         }
 
         /* Calculate dot products: