diff options
author | Eric Anholt <[email protected]> | 2008-01-27 22:21:01 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-02-01 16:02:36 -0800 |
commit | 61760105df37c5a025150fedf6e2a51c738110e0 (patch) | |
tree | c625c51114370a3e3f8a444af4cd4297cbe2e46d | |
parent | ca8d91610f547b9c66f703e07356f6347a121516 (diff) |
[965] Fix some indentation in brw_vs_tnl.c.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_tnl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_tnl.c b/src/mesa/drivers/dri/i965/brw_vs_tnl.c index a777dc5aa19..73e56a58cf5 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_tnl.c +++ b/src/mesa/drivers/dri/i965/brw_vs_tnl.c @@ -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: |