From: Brian Paul Date: Thu, 1 Jan 2009 00:16:27 +0000 (-0700) Subject: i965: fix comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e262da804014d57156346ff487904ce220974832;p=mesa.git i965: fix comment --- 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 */