Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw llvm: allow runtime switching of pipelines (yes/no to llvm) | Zack Rusin | 2010-04-19 | 2 | -1/+4 |
| | | | | use DRAW_USE_LLVM to disable or enable (default) llvm | ||||
* | draw llvm: fix constructor mess | Zack Rusin | 2010-04-19 | 4 | -36/+9 |
| | | | | use just one constructor to figure out whether to use llvm. | ||||
* | llvmpipe: enable draw llvm by default | Zack Rusin | 2010-04-19 | 1 | -1/+1 |
| | |||||
* | gallium/util: specify binding type for blit src texture | Brian Paul | 2010-04-19 | 1 | -0/+1 |
| | | | | Fixes fd.o bug 27711. | ||||
* | llvmpipe: triangle function comments | Brian Paul | 2010-04-19 | 1 | -0/+10 |
| | |||||
* | gallium/draw: use a local var to simplify some code | Brian Paul | 2010-04-19 | 1 | -8/+8 |
| | |||||
* | softpipe: add option to do polygon stipple in softpipe vs. draw module | Brian Paul | 2010-04-19 | 3 | -0/+14 |
| | | | | For debugging purposes. | ||||
* | Merge branch '7.8' | Brian Paul | 2010-04-19 | 22 | -61/+219 |
|\ | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c | ||||
| * | gallium/draw: use correct rasterization state for wide/AA points/lines | Brian Paul | 2010-04-19 | 19 | -55/+211 |
| | | | | | | | | | | | | | | | | | | | | | | When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution. | ||||
| * | softpipe: Fix division by zero | Arpad Borsos | 2010-04-14 | 1 | -3/+3 |
| | | | | | | | | | | | | | | This can be triggered by running the cairo tests using the gl backend and softpipe. Signed-off-by: Brian Paul <[email protected]> | ||||
* | | r300c/r300g: add 3155 rv380 pci id | Dave Airlie | 2010-04-19 | 1 | -0/+1 |
| | | |||||
* | | gallivm: Remove redundant initialization of dst_vec_type. | Vinson Lee | 2010-04-19 | 1 | -2/+0 |
| | | | | | | | | | | dec_vec_type is already initialized to lp_build_vec_type(dst_type) at its declaration. | ||||
* | | nv50: Fix include recursion. | Vinson Lee | 2010-04-19 | 1 | -1/+2 |
| | | | | | | | | | | Don't include nv50_context.h and use a forward declaration instead. nv50_context.h includes nv50_screen.h (itself). | ||||
* | | nvfx: Fix include recursion. | Vinson Lee | 2010-04-18 | 1 | -1/+2 |
| | | | | | | | | | | Don't include nvfx_context.h and use a forward reference instead. nvfx_context.h includes nvfx_screen.h (itself). | ||||
* | | auxiliary: Move loop variable declaration outside for loop. | Vinson Lee | 2010-04-18 | 1 | -1/+2 |
| | | | | | | | | Fixes MSVC build. | ||||
* | | nvfx: Add missing header and forward declaration. | Vinson Lee | 2010-04-18 | 1 | -0/+4 |
| | | |||||
* | | nouveau: Add missing header. | Vinson Lee | 2010-04-18 | 1 | -0/+2 |
| | | |||||
* | | r300g: Remove unnecessary headers. | Vinson Lee | 2010-04-18 | 2 | -3/+0 |
| | | |||||
* | | i915g: Remove unnecessary header. | Vinson Lee | 2010-04-18 | 1 | -1/+0 |
| | | |||||
* | | auxiliary: Initialize variable. | Vinson Lee | 2010-04-18 | 1 | -1/+1 |
| | | |||||
* | | auxiliary: Add util/u_surfaces.c to SCons build. | Vinson Lee | 2010-04-18 | 1 | -0/+1 |
| | | | | | | | | This was missed in commit ac4b8db62d056fa5b85661f67ba5e1d1d29e3fcf. | ||||
* | | r300g: implement TRUNC as floor | Marek Olšák | 2010-04-19 | 1 | -1/+1 |
| | | |||||
* | | r300/compiler: lower CEIL | Marek Olšák | 2010-04-19 | 1 | -1/+1 |
| | | |||||
* | | u_inlines: split pipe_surface_init in pipe_surface_reset and *_init | Luca Barbieri | 2010-04-18 | 2 | -3/+10 |
| | | |||||
* | | tgsi: add comment about potential code removal | Brian Paul | 2010-04-18 | 1 | -0/+6 |
| | | |||||
* | | softpipe: new comment and assertion for face value | Brian Paul | 2010-04-18 | 1 | -0/+3 |
| | | |||||
* | | tgsi: replace 0xf with TGSI_WRITEMASK_XYZW | Brian Paul | 2010-04-18 | 1 | -2/+2 |
| | | |||||
* | | softpipe: fix computation of fragment[FACE] attribute | Brian Paul | 2010-04-18 | 1 | -3/+7 |
| | | | | | | | | | | | | | | In TGSI, front facing is +1 and back-facing is -1. We were computing this attribute as +1 and 0 before. However, the value isn't actually used anywhere because we machine->Face attribute overrides it in tgsi_exec.c. That could be changed, removing some special-case code... | ||||
* | | softpipe: clean-up and comments | Brian Paul | 2010-04-18 | 1 | -40/+57 |
| | | |||||
* | | softpipe: document MAX_QUADS | Brian Paul | 2010-04-18 | 1 | -1/+6 |
| | | |||||
* | | r300g: more solid is_buffer_referenced implementation | Marek Olšák | 2010-04-18 | 3 | -11/+19 |
| | | | | | | | | | | This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer. | ||||
* | | u_surfaces: silence warning | Luca Barbieri | 2010-04-18 | 1 | -1/+1 |
| | | |||||
* | | Revert "r300g: save vertex buffers around u_blitter calls" | Marek Olšák | 2010-04-18 | 1 | -1/+3 |
| | | | | | | | | Not sure why it crashes. | ||||
* | | nvfx: move declarations before code | Brian Paul | 2010-04-18 | 1 | -11/+12 |
| | | |||||
* | | nvfx: fix void * arithmetic warning | Brian Paul | 2010-04-18 | 1 | -1/+1 |
| | | |||||
* | | nvfx: move declarations before code | Brian Paul | 2010-04-18 | 1 | -4/+9 |
| | | |||||
* | | llvmpipe: update comment | Brian Paul | 2010-04-18 | 1 | -1/+1 |
| | | |||||
* | | nvfx: move declarations before code to silence warnings | Brian Paul | 2010-04-18 | 3 | -6/+11 |
| | | |||||
* | | auxiliary: add util_dirty_surfaces to track dirty render temporaries | Luca Barbieri | 2010-04-18 | 1 | -0/+88 |
| | | |||||
* | | auxiliary: add util_surfaces to track a resource's pipe_surface structs | Luca Barbieri | 2010-04-18 | 3 | -0/+167 |
| | | |||||
* | | u_inlines: add function to initialize pipe_surface | Luca Barbieri | 2010-04-18 | 1 | -0/+15 |
| | | |||||
* | | nvfx: fix fragment program constant updates | Luca Barbieri | 2010-04-18 | 1 | -1/+4 |
| | | |||||
* | | r300g: do not tell st that a buffer is referenced by hw | Marek Olšák | 2010-04-18 | 7 | -15/+33 |
| | | | | | | | | It saves a few libdrm calls and unnecessary flushes. | ||||
* | | r300g: save vertex buffers around u_blitter calls | Luca Barbieri | 2010-04-18 | 1 | -0/+1 |
| | | | | | | | | | | | | Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested. | ||||
* | | u_blitter: add support for saving vertex buffers | Luca Barbieri | 2010-04-18 | 2 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | Currently r300g does not save vertex buffer on blitter calls. It gets away with it because the current Mesa state tracker usually resets vertex buffers on every draw calls. However, this is wrong. nvfx won't be lucky because it needs to use the blitter inside draw calls. | ||||
* | | p_compiler: add likely/unlikely macros | Luca Barbieri | 2010-04-18 | 1 | -1/+39 |
| | | | | | | | | | | | | Defined like the Linux kernel. A explanatory comment is included. | ||||
* | | r300g: fixup 0 stride buffer properly. | Dave Airlie | 2010-04-18 | 1 | -8/+7 |
| | | | | | | | | | | | | | | Just set the max index to 1, this lets doom3 run and seems correct, though it would be better to just emit a constant like SVGA does. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | | llvmpipe: Emit only the vertex attributes necessary for the FS, and ensure ↵ | José Fonseca | 2010-04-18 | 1 | -68/+67 |
| | | | | | | | | | | | | | | the first one is always position. With this we correctly handle vertex shaders whose output position is not in index zero. | ||||
* | | softpipe: Preserve/check the signal of the number of scanlines in an edge. | José Fonseca | 2010-04-18 | 1 | -1/+2 |
| | | | | | | | | It can become negative in some weird triangles. | ||||
* | | draw: Cosmetic cleanups and comments. | José Fonseca | 2010-04-18 | 4 | -4/+10 |
| | |