summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* draw llvm: allow runtime switching of pipelines (yes/no to llvm)Zack Rusin2010-04-192-1/+4
| | | | use DRAW_USE_LLVM to disable or enable (default) llvm
* draw llvm: fix constructor messZack Rusin2010-04-194-36/+9
| | | | use just one constructor to figure out whether to use llvm.
* llvmpipe: enable draw llvm by defaultZack Rusin2010-04-191-1/+1
|
* gallium/util: specify binding type for blit src textureBrian Paul2010-04-191-0/+1
| | | | Fixes fd.o bug 27711.
* llvmpipe: triangle function commentsBrian Paul2010-04-191-0/+10
|
* gallium/draw: use a local var to simplify some codeBrian Paul2010-04-191-8/+8
|
* softpipe: add option to do polygon stipple in softpipe vs. draw moduleBrian Paul2010-04-193-0/+14
| | | | For debugging purposes.
* Merge branch '7.8'Brian Paul2010-04-1922-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/linesBrian Paul2010-04-1919-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 zeroArpad Borsos2010-04-141-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 idDave Airlie2010-04-191-0/+1
| |
* | gallivm: Remove redundant initialization of dst_vec_type.Vinson Lee2010-04-191-2/+0
| | | | | | | | | | dec_vec_type is already initialized to lp_build_vec_type(dst_type) at its declaration.
* | nv50: Fix include recursion.Vinson Lee2010-04-191-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 Lee2010-04-181-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 Lee2010-04-181-1/+2
| | | | | | | | Fixes MSVC build.
* | nvfx: Add missing header and forward declaration.Vinson Lee2010-04-181-0/+4
| |
* | nouveau: Add missing header.Vinson Lee2010-04-181-0/+2
| |
* | r300g: Remove unnecessary headers.Vinson Lee2010-04-182-3/+0
| |
* | i915g: Remove unnecessary header.Vinson Lee2010-04-181-1/+0
| |
* | auxiliary: Initialize variable.Vinson Lee2010-04-181-1/+1
| |
* | auxiliary: Add util/u_surfaces.c to SCons build.Vinson Lee2010-04-181-0/+1
| | | | | | | | This was missed in commit ac4b8db62d056fa5b85661f67ba5e1d1d29e3fcf.
* | r300g: implement TRUNC as floorMarek Olšák2010-04-191-1/+1
| |
* | r300/compiler: lower CEILMarek Olšák2010-04-191-1/+1
| |
* | u_inlines: split pipe_surface_init in pipe_surface_reset and *_initLuca Barbieri2010-04-182-3/+10
| |
* | tgsi: add comment about potential code removalBrian Paul2010-04-181-0/+6
| |
* | softpipe: new comment and assertion for face valueBrian Paul2010-04-181-0/+3
| |
* | tgsi: replace 0xf with TGSI_WRITEMASK_XYZWBrian Paul2010-04-181-2/+2
| |
* | softpipe: fix computation of fragment[FACE] attributeBrian Paul2010-04-181-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 commentsBrian Paul2010-04-181-40/+57
| |
* | softpipe: document MAX_QUADSBrian Paul2010-04-181-1/+6
| |
* | r300g: more solid is_buffer_referenced implementationMarek Olšák2010-04-183-11/+19
| | | | | | | | | | This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer.
* | u_surfaces: silence warningLuca Barbieri2010-04-181-1/+1
| |
* | Revert "r300g: save vertex buffers around u_blitter calls"Marek Olšák2010-04-181-1/+3
| | | | | | | | Not sure why it crashes.
* | nvfx: move declarations before codeBrian Paul2010-04-181-11/+12
| |
* | nvfx: fix void * arithmetic warningBrian Paul2010-04-181-1/+1
| |
* | nvfx: move declarations before codeBrian Paul2010-04-181-4/+9
| |
* | llvmpipe: update commentBrian Paul2010-04-181-1/+1
| |
* | nvfx: move declarations before code to silence warningsBrian Paul2010-04-183-6/+11
| |
* | auxiliary: add util_dirty_surfaces to track dirty render temporariesLuca Barbieri2010-04-181-0/+88
| |
* | auxiliary: add util_surfaces to track a resource's pipe_surface structsLuca Barbieri2010-04-183-0/+167
| |
* | u_inlines: add function to initialize pipe_surfaceLuca Barbieri2010-04-181-0/+15
| |
* | nvfx: fix fragment program constant updatesLuca Barbieri2010-04-181-1/+4
| |
* | r300g: do not tell st that a buffer is referenced by hwMarek Olšák2010-04-187-15/+33
| | | | | | | | It saves a few libdrm calls and unnecessary flushes.
* | r300g: save vertex buffers around u_blitter callsLuca Barbieri2010-04-181-0/+1
| | | | | | | | | | | | Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested.
* | u_blitter: add support for saving vertex buffersLuca Barbieri2010-04-182-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 macrosLuca Barbieri2010-04-181-1/+39
| | | | | | | | | | | | Defined like the Linux kernel. A explanatory comment is included.
* | r300g: fixup 0 stride buffer properly.Dave Airlie2010-04-181-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é Fonseca2010-04-181-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é Fonseca2010-04-181-1/+2
| | | | | | | | It can become negative in some weird triangles.
* | draw: Cosmetic cleanups and comments.José Fonseca2010-04-184-4/+10
| |