summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw
AgeCommit message (Collapse)Author
2010-08-03draw: added a commentBrian Paul
2010-08-03draw: use instance divisor in draw_print_arrays()Brian Paul
2010-08-03draw: add assertion, rearrange debug codeBrian Paul
2010-08-02draw: fix warning in sse code.Dave Airlie
Not sure if this will actually fix the issue, but it fixes the warning.
2010-07-30draw: actually a noop, rather than not implementedZack Rusin
we just have nothing to do in it right now
2010-07-30llvmpipe: Fix implicit declaration of lp_func_delete_body warnings.Vinson Lee
2010-07-30llvmpipe: delete function bodies after generating machine codeZack Rusin
2010-07-29draw: do bounds checking of array elements (debug only)Brian Paul
Make sure that all the element indexes actually lie inside the vertex buffer. Also, rename pipe_run() to pipe_run_elts() to be more specific. And assert/check the vertex count for the non-indexed case.
2010-07-29draw: assorted clean-ups in clipper codeBrian Paul
2010-07-29gallium: implement bounds checking for constant buffersBrian Paul
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.
2010-07-29draw: add vertex buffer offset in draw_print_arrays()Brian Paul
2010-07-29draw: Also emit EMMS on generated LLVM IR.José Fonseca
2010-07-28draw: Fix VMware spelling.Vinson Lee
2010-07-23draw: add small ybias factor for drawing wide pointsBrian Paul
Fixes minor rasterization error detected by some tests.
2010-07-22draw: re-order optimization passes depending on LLVM version, 32/64-bitBrian Paul
This is a work-around for an apparent bug in LLVM seen with piglit's glsl-vs-sqrt-zero test.
2010-07-22draw: added new assertions to clipping codeBrian Paul
2010-07-21draw: disable depth clipping if depth clamp is enabledMarek Olšák
2010-07-21draw: tweak aa line width threshold and samplingBrian Paul
Set sampler max_lod to avoid sampling the 1x1 and 2x2 mipmap levels. Fixes piglit line-aa-width test, fd.o bug 29160.
2010-07-21draw: whitespace clean-upBrian Paul
2010-07-20draw: correctly handle max_index=0xffffffff case in vcache codeBrian Paul
If max_index=0xffffffff and elt_bias > 0 the test for elt_bias + max_index >= DRAW_PIPE_MAX_VERTICES was wrong. Check earlier if max_index=0xffffffff and do the "fail" case. This fixes the piglit draw-elements-base-vertex test (and probably some other things).
2010-07-19draw: fix incorrect instancing divisor in LLVM codeBrian Paul
2010-07-16draw: updated debug/dump codeBrian Paul
2010-07-16draw: added array element debug / bounds checking code (disabled)Brian Paul
2010-07-16draw/llvm: adjust the instance id at run timeZack Rusin
fixes instancing in draw llvm
2010-07-16draw: use the instance id when fetching vertex dataZack Rusin
2010-07-15draw: update comments for drawing functionsBrian Paul
2010-07-15draw: move prototype, update commentBrian Paul
2010-07-10draw: fix decomposition to work with adjacency primitivesZack Rusin
2010-07-10mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin
first working version of arb_geometry_shader4
2010-07-08draw: Fix off-by-one error in assert.Vinson Lee
textures is an array of size PIPE_MAX_VERTEX_SAMPLERS.
2010-07-06draw: Remove unnecessary header.Vinson Lee
2010-07-06draw: make sure softpipe doesn't crash with vertex tex samplingZack Rusin
softpipe doesn't implement the draw's llvm tex sampling interface so make sure draw can handle the cases where the driver doesn't implement the interface
2010-07-06draw: implement vertex texture sampling using llvmZack Rusin
2010-07-02gallivm: Support multiple pixels in lp_build_fetch_rgba_aos().José Fonseca
This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time.
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