aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_gs.c
Commit message (Collapse)AuthorAgeFilesLines
* draw: Remove DRAW_PIPE_MAX_VERTICES and DRAW_PIPE_FLAG_MASK.Chia-I Wu2010-08-161-1/+1
| | | | | The higher bits of draw elements are no longer used for the stipple or edge flags.
* draw: Add flags to draw_prim_info.Chia-I Wu2010-08-161-0/+1
| | | | | | | | | A primitive may be splitted in frontends. The splitted primitives should convey certain flag bits so that the decomposer can correctly decide the stipple or edge flags. This commit adds flags to draw_prim_info and updates the decomposer to honor the flags. Frontends and middle ends will be updated later.
* draw: Mask out vertex flags in GS and stream output.Chia-I Wu2010-08-061-1/+1
| | | | This fixes out-of-bound access to the vertices.
* draw: Include draw_decompose_tmp.h in draw_gs_tmp.h.Chia-I Wu2010-08-061-19/+5
| | | | Use draw_decompose_tmp.h to replace GS primitive decomposer.
* draw: actually a noop, rather than not implementedZack Rusin2010-07-301-1/+4
| | | | we just have nothing to do in it right now
* gallium: implement bounds checking for constant buffersBrian Paul2010-07-291-5/+8
| | | | | | Plumb the constant buffer sizes down into the tgsi interpreter where we can do bounds checking. Optional debug code warns upon out-of-bounds reading. Plus add a few other assertions in the TGSI interpreter.
* draw: Fix VMware spelling.Vinson Lee2010-07-281-1/+1
|
* gallium: add a timestamp disjoint queryZack Rusin2010-06-221-1/+1
| | | | | | allows application to not only request the frequency of the TIME_ELAPSED clock but also to detect if that frequency was consistent throughout the entire bracketed range of graphics commands.
* draw: implement triangle lists with adjacency support in gsZack Rusin2010-06-171-1/+23
|
* draw: implement lines with adjacency in geometry shadersZack Rusin2010-06-171-14/+40
|
* draw: rewrite stream output to handle all the dark cornersZack Rusin2010-06-161-1/+0
| | | | | register masks, multiple output buffers, multiple primitives, non-linear vertices (elts) and stride semantics.
* gs: make sure we end primitives when finishing executing shadersZack Rusin2010-06-151-21/+7
|
* draw/gs: make sure gs works with elts and doesn't overrun the bufferZack Rusin2010-06-151-11/+42
|
* draw: finish the new pipeline setupZack Rusin2010-06-151-18/+23
| | | | | | | Keith came up with a new way of running the pipeline which involves passing a few info structs around (for fetch, vertices and prims) and allows us to correctly handle cases where we endup with multiple primitives generated by the pipeline itself.
* draw wipKeith Whitwell2010-06-151-21/+32
|
* draw/gs: copy the outputs only if we emitted somethingZack Rusin2010-06-121-3/+5
|
* draw: rewrite geometry shader pipelineZack Rusin2010-06-101-100/+136
| | | | | done to handle strips correctly as inputs - we need to decompose the strips
* draw: geometry shader fixesZack Rusin2010-06-101-4/+43
| | | | | don't overwrite the inputs and make sure the correct primitive is used on entry
* draw: make sure geometry shader correctly iterates the output bufferZack Rusin2010-06-091-4/+9
|
* draw: make sure the buffer is big enough to fit everything emitted by the gsZack Rusin2010-06-091-31/+5
|
* draw: fix geometry shader which emit multiplie primitivesZack Rusin2010-06-091-18/+20
|
* geometry shaders: make gs work with changable primitives and variable number ↵Zack Rusin2010-06-091-9/+16
| | | | | | | | 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.
* draw llvm: various fixes for the translation codeZack Rusin2010-03-301-6/+6
| | | | the from translation isn't quite right yet
* gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol2010-01-281-2/+2
|
* gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol2010-01-281-5/+9
|
* gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol2010-01-281-1/+1
|
* draw: Fix memory leak in gs codeJakob Bornecrantz2010-01-161-0/+9
|
* gallium: remove TGSI_SEMANTIC_VERTICESZack Rusin2009-12-251-7/+6
| | | | | | it's a leftover from an early version of geometry shading support. geometry shaders now encode the primitive size in the PROPERTY token and don't need special input with their size.
* draw: disable some debugging output coming from the geometry shadersZack Rusin2009-12-251-5/+5
|
* draw/tgsi: fix geometry shader input/output swizzlingZack Rusin2009-12-251-0/+1
|
* gallium: add geometry shader support to galliumZack Rusin2009-12-251-0/+338