summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-12-31 17:16:27 -0700
committerBrian Paul <[email protected]>2009-01-01 14:05:30 -0700
commite262da804014d57156346ff487904ce220974832 (patch)
tree772d83274ea3b4c01b35466daa7260ef073005e6 /src/mesa/drivers
parent914fcbafdb166603da408d58a0a0f381d9c08e9f (diff)
i965: fix comment
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 10f3e281908..80ff7437ba2 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -606,7 +606,7 @@ static void emit_nrm( struct brw_vs_compile *c,
else
brw_DP4(p, tmp, arg0, arg0);
- /* tmp = 1 / tmp */
+ /* tmp = 1 / sqrt(tmp) */
emit_math1(c, BRW_MATH_FUNCTION_RSQ, tmp, tmp, BRW_MATH_PRECISION_FULL);
/* dst = arg0 * tmp */