draw: no need to rearrange most primitives in vcache for flatshade-first
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 10 Jun 2008 13:46:25 +0000 (14:46 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 10 Jun 2008 13:48:57 +0000 (14:48 +0100)
commitad44e68706877ab06929747e7a82c718c1c27e02
treed0653cb37c63c82d52e83c5842682fdc2c36f45c
parent14a13e3767f080a48a4ae01f803dd0bc8754f441
draw: no need to rearrange most primitives in vcache for flatshade-first

The driver/pipeline will still be applying flatshade-first state to the
triangles emitted from vcache, so there's no need to rotate the vertices
of most primitives.  The only exception is POLYGON, as explained in the
code.
src/gallium/auxiliary/draw/draw_pt_fetch.c
src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h