diff options
author | Keith Whitwell <[email protected]> | 2008-04-01 14:49:56 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-01 14:51:25 +0100 |
commit | edfa8201a50c47376b7aa0c05d7851e3e1353bde (patch) | |
tree | ca11942b02e8a6eb919b959b5d677af75a11c009 /src/gallium/auxiliary/draw/draw_pt.c | |
parent | caa44763f7f7aa26ed0b0d1e5af0c410fba6bfe6 (diff) |
draw: more flatshade_first changes
- Reduce the number of changes to the normal vertex ordering
- Assume that the hardware knows how to do this in the standard case.
- Add support to the passthrough vcache path.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c index df306a5fa4f..2ea96c686da 100644 --- a/src/gallium/auxiliary/draw/draw_pt.c +++ b/src/gallium/auxiliary/draw/draw_pt.c @@ -191,7 +191,7 @@ boolean draw_pt_init( struct draw_context *draw ) if (!draw->pt.middle.fetch_emit) return FALSE; - draw->pt.front.vcache = draw_pt_vcache(); + draw->pt.front.vcache = draw_pt_vcache( draw ); if (!draw->pt.front.vcache) return FALSE; |