diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-11-17 14:46:23 -0800 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-11-17 14:50:49 -0800 |
commit | 1877e6cd2d76143ef8a9c516122afe614ae3b4a4 (patch) | |
tree | 857cd3547555a14fe990dacc206234c892b9df1c /src/gallium/drivers/i965/brw_clip_util.c | |
parent | d299ee771b577a8ce839861d1af336fc316e0a1d (diff) |
i965g: handle special vs outputs specially
Where vs output semantic tags indicate an output is signficant for
fixed function processing (such as clipping, unfilled modes, etc),
retain information about that output so that we can get to it easily
later on.
Fix up the unfilled processing, but hard-wire edgeflag to one for now.
With this change, trivial/tri-unfilled works.
Diffstat (limited to 'src/gallium/drivers/i965/brw_clip_util.c')
-rw-r--r-- | src/gallium/drivers/i965/brw_clip_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_clip_util.c b/src/gallium/drivers/i965/brw_clip_util.c index 018511e699..872042c9a9 100644 --- a/src/gallium/drivers/i965/brw_clip_util.c +++ b/src/gallium/drivers/i965/brw_clip_util.c @@ -106,7 +106,7 @@ static void brw_clip_project_vertex( struct brw_clip_compile *c, /* Fixup position. Extract from the original vertex and re-project * to screen space: */ - brw_MOV(p, tmp, deref_4f(vert_addr, c->offset[VERT_RESULT_HPOS])); + brw_MOV(p, tmp, deref_4f(vert_addr, c->offset_hpos)); brw_clip_project_position(c, tmp); brw_MOV(p, deref_4f(vert_addr, c->header_position_offset), tmp); |