summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2008-11-02 12:29:03 -0800
committerEric Anholt <[email protected]>2008-11-02 12:30:01 -0800
commit4be624d693554ad3950afab90e331a6725cc5004 (patch)
treeee808794e631b1878091d52ca243b1edf8603a63
parent9fd4c27ae3e189df804b86843a6aad0e70640533 (diff)
i965: Clean up stale NDC comment.
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_emit.c3
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 ed0e1d5273c..25b4ee85cb0 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);