[Mesa-dev] [PATCH-RFC] draw: Rewrite primitive decomposer
hverbeet at gmail.com
Fri Aug 6 03:03:05 PDT 2010
On 5 August 2010 18:51, Chia-I Wu <olvaffe at gmail.com> wrote:
> The GL rule is last vertex last for each primitive. The D3D rule is first
> vertex first. My idea is to have draw_decompose_tmp.h use a local variable,
> last_vertex_last, to select the rules. In draw_gs_tmp.h and
> draw_so_emit_tmp.h, last_vertex_last is TRUE when the new settable flags is
> TRUE. However, in draw_pt_decompse.h, where the rules no longer matter,
> last_vertex_last is set to !(flatshade && flatshade_first).
Doesn't ARB_provoking_vertex control that for GL?
More information about the mesa-dev