Mesa (gallium-0.2): i965: Clean up stale NDC comment.

Alan Hourihane alanh at kemper.freedesktop.org
Mon Nov 3 14:27:18 UTC 2008


Module: Mesa
Branch: gallium-0.2
Commit: 6225e467c66d8c0dcd3574c03dea6c1287989cc9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6225e467c66d8c0dcd3574c03dea6c1287989cc9

Author: Eric Anholt <eric at anholt.net>
Date:   Sun Nov  2 12:29:03 2008 -0800

i965: Clean up stale NDC comment.

---

 src/mesa/drivers/dri/i965/brw_vs_emit.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index ed0e1d5..25b4ee8 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -818,8 +818,7 @@ static void emit_vertex_write( struct brw_vs_compile *c)
    }
 
 
-   /* Build ndc coords?   TODO: Shortcircuit when w is known to be one.
-    */
+   /* Build ndc coords */
    if (!c->key.know_w_is_one) {
       ndc = get_tmp(c);
       emit_math1(c, BRW_MATH_FUNCTION_INV, ndc, brw_swizzle1(pos, 3), BRW_MATH_PRECISION_FULL);




More information about the mesa-commit mailing list