summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw
AgeCommit message (Collapse)Author
2010-07-01gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca
Uses code and ideas from Brian Paul.
2010-06-30draw: fix out of memory handling in polygon stipple stageBrian Paul
2010-06-29draw: Add inline keyword to inline function.José Fonseca
Otherwise gcc will warn about unusued functions.
2010-06-26draw: Remove unnecessary header.Vinson Lee
2010-06-25draw: deleted by mistakeZack Rusin
2010-06-25draw: initialize headers in the none post paths as wellZack Rusin
2010-06-25draw: limit the number of vertex shader variants kept aroundZack Rusin
we used to create and cache unltimited number of variant, this change limits the number of variants kept around to a fixed number. the change is based on a similar patch by Roland for llvmpipe fragment shaders.
2010-06-25draw: initialize vertex headerZack Rusin
2010-06-25draw: Work around an invalid write.Chia-I Wu
SSE vertex shader does not seem to honor the execution mask. Pad the output array as a workaround.
2010-06-23draw: use gallium's TRUE/FALSEBrian Paul
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-23draw: mask off DRAW_PIPE_FLAG_MASK bits in prim decompose codeBrian Paul
Any elt may potentially have flags bits set so mask off those bits everywhere. Fixes crashes with demos/gamma.c, redbook/polys.c, etc. but polygon stippling is still broken.
2010-06-22gallium: add a timestamp disjoint queryZack Rusin
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.
2010-06-17draw: implement triangle strips with adjacency in geometry shaderZack Rusin
2010-06-17draw: implement triangle lists with adjacency support in gsZack Rusin
2010-06-17draw: fix a silly errorZack Rusin
2010-06-17draw: implement line strip adjacencyZack Rusin
2010-06-17draw: implement lines with adjacency in geometry shadersZack Rusin
2010-06-17draw: validate stream output buffersZack Rusin
fixes a crash.
2010-06-17draw: fix some unsigned issueZack Rusin
spotted by Vinson
2010-06-16draw: make sure we correctly iterate over output buffers on stream outZack Rusin
we kept overwriting the first attribute of a vertex in a single-stream- out-buffer case
2010-06-16draw: add stream output decomposition fileZack Rusin
2010-06-16draw: rewrite stream output to handle all the dark cornersZack Rusin
register masks, multiple output buffers, multiple primitives, non-linear vertices (elts) and stride semantics.
2010-06-16draw: add alloc checkAlan Hourihane
2010-06-16draw: handle some out of memory conditionsAlan Hourihane
2010-06-15draw: Remove unnecessary headers.Vinson Lee
2010-06-15gs: make sure we end primitives when finishing executing shadersZack Rusin
2010-06-15draw/gs: make sure gs works with elts and doesn't overrun the bufferZack Rusin
2010-06-15draw: run the pipeline with the correct number of vertsZack Rusin
verts per primitive, not total count
2010-06-15draw: fix primitive indexing in the pipelineZack Rusin
spotted by Keith
2010-06-15draw: finish the new pipeline setupZack Rusin
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.
2010-06-15draw wipKeith Whitwell
2010-06-12draw/gs: copy the outputs only if we emitted somethingZack Rusin
2010-06-11gallium/softpipe/draw: support samplers in geometry shadersZack Rusin
2010-06-10draw: forgot to add a fileZack Rusin
2010-06-10draw: rewrite geometry shader pipelineZack Rusin
done to handle strips correctly as inputs - we need to decompose the strips
2010-06-10draw: geometry shader fixesZack Rusin
don't overwrite the inputs and make sure the correct primitive is used on entry
2010-06-10draw: make sure that the gs never outputs more data than we allocated forZack Rusin
2010-06-09draw: make sure geometry shader correctly iterates the output bufferZack Rusin
2010-06-09draw: make sure the buffer is big enough to fit everything emitted by the gsZack Rusin
2010-06-09draw: fix geometry shader which emit multiplie primitivesZack Rusin
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.
2010-06-08draw: Remove unnecessary headers.Vinson Lee
2010-06-08gallium: scream when one of two unimplemented features in draw is usedZack Rusin
plus used the correctly specified stride
2010-06-08gallium: make draw auto work and add relevant caps and docsZack Rusin
2010-06-08gallium: a lot more complete implementation of stream outputZack Rusin
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)
2010-06-08gallium: basic and initial implementation of the stream output interfaceZack Rusin
aka transform feedback
2010-06-07draw: don't use llvm engine when geometry shaders activeKeith Whitwell
They aren't implemented for llvm.
2010-05-30draw: Use pointer_to_func() instead of custom wrappers.José Fonseca
2010-05-21Merge branch 'gallium-front-ccw'Keith Whitwell