draw: cope with more primitives in draw_pipeline_run
authorKeith Whitwell <keithw@vmware.com>
Thu, 13 Aug 2009 14:54:10 +0000 (15:54 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 13 Aug 2009 14:56:17 +0000 (15:56 +0100)
commit1ce3f5a806f6efb29c231157987e3495c7b41022
tree1a00d274a53d983cac6246d5943adf56e5142f1a
parentd80b36f64f0a8224f2c73f3bab9b33d95c392158
draw: cope with more primitives in draw_pipeline_run

This previously was used only for decomposed (POINT/LINE/TRI) primitives,
but for some time a full range of primitives could end up in here.

Fixes trivial/lineloop-clip on softpipe, among others.
(cherry picked from commit 87cd8a3b8a2407b30916be418ff2f95dfea5d2ad)
src/gallium/auxiliary/draw/draw_pipe.c