summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
Commit message (Collapse)AuthorAgeFilesLines
* draw: fix a silly errorZack Rusin2010-06-171-1/+1
|
* draw: implement line strip adjacencyZack Rusin2010-06-171-0/+5
|
* draw: implement lines with adjacency in geometry shadersZack Rusin2010-06-172-18/+48
|
* draw: validate stream output buffersZack Rusin2010-06-171-1/+16
| | | | fixes a crash.
* draw: fix some unsigned issueZack Rusin2010-06-171-4/+4
| | | | spotted by Vinson
* draw: make sure we correctly iterate over output buffers on stream outZack Rusin2010-06-161-5/+11
| | | | | we kept overwriting the first attribute of a vertex in a single-stream- out-buffer case
* draw: add stream output decomposition fileZack Rusin2010-06-161-0/+123
|
* draw: rewrite stream output to handle all the dark cornersZack Rusin2010-06-166-124/+190
| | | | | register masks, multiple output buffers, multiple primitives, non-linear vertices (elts) and stride semantics.
* draw: add alloc checkAlan Hourihane2010-06-161-0/+2
|
* draw: handle some out of memory conditionsAlan Hourihane2010-06-1612-35/+69
|
* draw: Remove unnecessary headers.Vinson Lee2010-06-152-2/+0
|
* gs: make sure we end primitives when finishing executing shadersZack Rusin2010-06-152-26/+7
|
* draw/gs: make sure gs works with elts and doesn't overrun the bufferZack Rusin2010-06-152-11/+43
|
* draw: run the pipeline with the correct number of vertsZack Rusin2010-06-151-1/+1
| | | | verts per primitive, not total count
* draw: fix primitive indexing in the pipelineZack Rusin2010-06-151-2/+4
| | | | spotted by Keith
* draw: finish the new pipeline setupZack Rusin2010-06-159-245/+238
| | | | | | | 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-158-319/+342
|
* draw/gs: copy the outputs only if we emitted somethingZack Rusin2010-06-121-3/+5
|
* gallium/softpipe/draw: support samplers in geometry shadersZack Rusin2010-06-112-4/+10
|
* draw: forgot to add a fileZack Rusin2010-06-101-0/+129
|
* draw: rewrite geometry shader pipelineZack Rusin2010-06-102-103/+142
| | | | | done to handle strips correctly as inputs - we need to decompose the strips
* draw: geometry shader fixesZack Rusin2010-06-104-27/+63
| | | | | don't overwrite the inputs and make sure the correct primitive is used on entry
* draw: make sure that the gs never outputs more data than we allocated forZack Rusin2010-06-101-17/+25
|
* draw: make sure geometry shader correctly iterates the output bufferZack Rusin2010-06-092-5/+11
|
* draw: make sure the buffer is big enough to fit everything emitted by the gsZack Rusin2010-06-092-48/+27
|
* 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-0911-96/+148
| | | | | | | | 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: Remove unnecessary headers.Vinson Lee2010-06-082-2/+0
|
* gallium: scream when one of two unimplemented features in draw is usedZack Rusin2010-06-081-6/+12
| | | | plus used the correctly specified stride
* gallium: make draw auto work and add relevant caps and docsZack Rusin2010-06-082-0/+10
|
* gallium: a lot more complete implementation of stream outputZack Rusin2010-06-085-74/+262
| | | | | | | interface wise we have everything needed by d3d10 and gl transform feedback. the draw module misses implementation of some corner cases (e.g. when stream output wants different number of components per output than normal rendering paths)
* gallium: basic and initial implementation of the stream output interfaceZack Rusin2010-06-084-0/+111
| | | | aka transform feedback
* draw: don't use llvm engine when geometry shaders activeKeith Whitwell2010-06-071-1/+1
| | | | They aren't implemented for llvm.
* draw: Use pointer_to_func() instead of custom wrappers.José Fonseca2010-05-301-30/+3
|
* Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-215-17/+27
|\
| * draw: fix front/back error in unfilled pipeline stageKeith Whitwell2010-05-141-3/+4
| |
| * draw: fix typo checking for unfilled polygonsKeith Whitwell2010-05-141-1/+1
| |
| * gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell2010-05-145-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
* | draw: Use GALLIVM_DEBUG opt.José Fonseca2010-05-151-21/+34
|/
* draw: silence casting warningsBrian Paul2010-05-131-5/+38
|
* gallivm: Add an alternative to LLVMDumpValue that works with Windows GUI apps.José Fonseca2010-05-081-5/+5
|
* gallium/draw: additional comments in the clipping codeBrian Paul2010-05-071-5/+10
|
* gallivm: Require SSE2 for draw_llvm/llvmpipe due to LLVM PR6960.Török Edwin2010-05-061-1/+8
| | | | | | | | Note that this also requires X86 for llvm, if llvmpipe/draw_llvm works on PPC then the condition should be extended to include && x86. Signed-off-by: Török Edwin <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* gallium: still more provoking vertex fixesBrian Paul2010-05-052-11/+22
| | | | | This fixes edge flags for polygons and provoking vertex for filled quads.
* gallium: added edge flag print/debug code (disabled)Brian Paul2010-05-051-0/+20
|
* gallium: rename draw() to draw_elements() in vbuf codeBrian Paul2010-05-055-24/+24
| | | | | Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions.
* gallium: rework provoking vertex codeBrian Paul2010-05-055-49/+123
| | | | | | | | | | | | | | Builds on commit ddb0e18f6c5582d4d2cc59ffd16ad9c4639ed059 and fixes regressions in glean clipFlat test. We assume that Gallium drivers observe flatshade_first for all triangles and that all the assorted per-triangle calls in the 'draw' module also follow flatshade_first. Everything else builds on those rules. Gallium does not use follow flatshade_first for GL quads, quad strips and polygons; the "last" vertex is always the provoking vertex for those prims. So now there are separate QUAD_FIRST_PV and QUAD_LAST_PV macros in the draw primitive decomposition code instead of one QUAD macro.
* draw: Remove unnecessary header.Vinson Lee2010-05-041-1/+0
|
* draw: Preserve the provoking vertex both when decomposing and clipping.José Fonseca2010-05-052-23/+31
| | | | Based on John Lawless' feedback.
* draw: Adjust wideline vertex coords for D3D.Brian Paul2010-05-051-27/+34
|