summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_clip_util.c
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2011-08-24 19:57:51 -0700
committerPaul Berry <stereotype441@gmail.com>2011-09-06 11:05:08 -0700
commiteae5b5c44e58ad2937600991a5569518d3023f68 (patch)
tree38993fe011878e73f32301fcdbab53d50d572aa8 /src/mesa/drivers/dri/i965/brw_clip_util.c
parent514eeca32c37c8b4267edbd3c3657946536c639c (diff)
i965: clip: rename header_position_offset to the more correct ndc_offset.
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip_util.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clip_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_util.c b/src/mesa/drivers/dri/i965/brw_clip_util.c
index 29aff2d990..7e2998366b 100644
--- a/src/mesa/drivers/dri/i965/brw_clip_util.c
+++ b/src/mesa/drivers/dri/i965/brw_clip_util.c
@@ -115,7 +115,7 @@ static void brw_clip_project_vertex( struct brw_clip_compile *c,
*/
brw_MOV(p, tmp, deref_4f(vert_addr, c->offset[VERT_RESULT_HPOS]));
brw_clip_project_position(c, tmp);
- brw_MOV(p, deref_4f(vert_addr, c->header_position_offset), tmp);
+ brw_MOV(p, deref_4f(vert_addr, c->ndc_offset), tmp);
release_tmp(c, tmp);
}