summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_varray.c
AgeCommit message (Collapse)Author
2010-07-10draw: fix decomposition to work with adjacency primitivesZack Rusin
2010-06-23draw: don't try to precalculate the pipeline output primitiveKeith Whitwell
We were previously calculating a value which was either the geometry shader output primitive or the application's input primitive, and passing that to the various front/middle/back components for use as the ultimate rendering primtive. Unfortunately, this was not correct -- if the vcache decomposition path is active and geometry shaders are *not* active, we can end up with a third primitive -- specifically the decomposed version of the input primitive. Rather than trying to precalculate this, just let the individual components inform their successors about which primitive type they are recieving.
2010-06-09geometry shaders: make gs work with changable primitives and variable number ↵Zack Rusin
of vertices lots and lots of fixes for geometry shaders. in particular now we work when the gs emits a different primitive than the one the pipeline was started with and also we work when gs emits more vertices than would fit in the original buffer.
2008-12-16gallium: fix some assertsAlan Hourihane
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-06-19draw: Fix MSVC integer size conversion warning.José Fonseca
2008-06-18gallium: split long prims into chunks with an even number of verticesBrian Paul
This fixes culling "parity" errors when splitting long tri strips. Splitting strips into chunks with an odd number of vertices causes front/back-face orientation to get reversed and upsets culling.
2008-06-10draw: rework splitting of fan/loop prims in varray.c, fix flatshade issuesKeith Whitwell
2008-06-04draw: respect driver's max vertex buffer sizeKeith Whitwell
2008-06-02draw: Fix MSVC warnings.José Fonseca
2008-05-27draw: Fixed typo in draw_pt_varray and added commentsJakob Bornecrantz
2008-05-13decomposition from keith, adds decomposition of more prim to the pipelineZack Rusin
2008-05-12draw: turn fse path into a middle endKeith Whitwell
Also add some util functions in pt_util.c
2008-05-12draw: streamline the varray pathKeith Whitwell
- drop support for running the pipeline (ie. don't populate the flags values) - pass through all split-able primitives intact to the middle end - only primitives that can't be split are shunted on the draw-element path
2008-05-08redo the linear pathsZack Rusin
2008-05-08implement linear path for fetch_emit pipelineZack Rusin
2008-05-08don't fill in linear fetch_eltsZack Rusin
2008-05-08implement linear emition and fetching and plug it in the varray pathsZack Rusin
2008-05-08split larger primitives in the simple varray ptZack Rusin
2008-05-08abstract fetching eltsZack Rusin
2008-05-01draw: squash warningsKeith Whitwell
2008-04-25draw: emit extra flags whenever pipeline is activeKeith Whitwell
The assert was in fact over-sensitive, but emitting the extra flags is pretty trivial & we may as well just do it whenever we know the pipeline is running.
2008-04-25frontend for rendering without eltsZack Rusin