summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-19Merge branch '7.8'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c
2010-04-19gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul
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.
2010-04-19r300c/r300g: add 3155 rv380 pci idDave Airlie
2010-04-19gallivm: Remove redundant initialization of dst_vec_type.Vinson Lee
dec_vec_type is already initialized to lp_build_vec_type(dst_type) at its declaration.
2010-04-19nv50: Fix include recursion.Vinson Lee
Don't include nv50_context.h and use a forward declaration instead. nv50_context.h includes nv50_screen.h (itself).
2010-04-18nvfx: Fix include recursion.Vinson Lee
Don't include nvfx_context.h and use a forward reference instead. nvfx_context.h includes nvfx_screen.h (itself).
2010-04-18auxiliary: Move loop variable declaration outside for loop.Vinson Lee
Fixes MSVC build.
2010-04-18nvfx: Add missing header and forward declaration.Vinson Lee
2010-04-18nouveau: Add missing header.Vinson Lee
2010-04-18r300g: Remove unnecessary headers.Vinson Lee
2010-04-18i915g: Remove unnecessary header.Vinson Lee
2010-04-18auxiliary: Initialize variable.Vinson Lee
2010-04-18auxiliary: Add util/u_surfaces.c to SCons build.Vinson Lee
This was missed in commit ac4b8db62d056fa5b85661f67ba5e1d1d29e3fcf.
2010-04-18st/mesa: s/st_get_stobj_texture/st_get_stobj_resource/Brian Paul
2010-04-18st/mesa: s/st_get_texobj_texture/st_get_texobj_resource/Brian Paul
2010-04-18st/mesa: remove st_texture_object::pipe fieldBrian Paul
Just pass the pipe context to st_get_texture_sampler_view() as is done for st_get_renderbuffer_sampler_view().
2010-04-18st/mesa: s/st_renderbuffer_get_sampler_view/st_get_renderbuffer_sampler_view/Brian Paul
2010-04-18st/mesa: s/st_sampler_view_from_texture/st_create_texture_sampler_view/Brian Paul
2010-04-18st/mesa: s/st_get_stobj_sampler_view/st_get_texture_sampler_view/Brian Paul
2010-04-19r300g: implement TRUNC as floorMarek Olšák
2010-04-19r300/compiler: lower CEILMarek Olšák
2010-04-19r300/compiler: enable branch emulation for vertex shadersMarek Olšák
2010-04-19r300/compiler: optimize CMP for vertex shaders a bitMarek Olšák
2010-04-19r300/compiler: Use memory_pool_array_reserve in deadcode eliminationNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-19r300/compiler: Use memory_pool_array_reserve in r500-fragprog_emitNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-19r300/compiler: enable branch emulation for R500 fragment programsMarek Olšák
2010-04-19r300/compiler: Implement branch emulation for R300 fragment programsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-18u_inlines: split pipe_surface_init in pipe_surface_reset and *_initLuca Barbieri
2010-04-18tgsi: add comment about potential code removalBrian Paul
2010-04-18softpipe: new comment and assertion for face valueBrian Paul
2010-04-18tgsi: replace 0xf with TGSI_WRITEMASK_XYZWBrian Paul
2010-04-18softpipe: fix computation of fragment[FACE] attributeBrian Paul
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...
2010-04-18softpipe: clean-up and commentsBrian Paul
2010-04-18softpipe: document MAX_QUADSBrian Paul
2010-04-18r300g: more solid is_buffer_referenced implementationMarek Olšák
This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer.
2010-04-18u_surfaces: silence warningLuca Barbieri
2010-04-18Revert "r300g: save vertex buffers around u_blitter calls"Marek Olšák
Not sure why it crashes.
2010-04-18nvfx: move declarations before codeBrian Paul
2010-04-18nvfx: fix void * arithmetic warningBrian Paul
2010-04-18nvfx: move declarations before codeBrian Paul
2010-04-18llvmpipe: update commentBrian Paul
2010-04-18nvfx: move declarations before code to silence warningsBrian Paul
2010-04-18auxiliary: add util_dirty_surfaces to track dirty render temporariesLuca Barbieri
2010-04-18auxiliary: add util_surfaces to track a resource's pipe_surface structsLuca Barbieri
2010-04-18u_inlines: add function to initialize pipe_surfaceLuca Barbieri
2010-04-18nvfx: fix fragment program constant updatesLuca Barbieri
2010-04-18r300g: do not tell st that a buffer is referenced by hwMarek Olšák
It saves a few libdrm calls and unnecessary flushes.
2010-04-18r300g: save vertex buffers around u_blitter callsLuca Barbieri
Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested.
2010-04-18u_blitter: add support for saving vertex buffersLuca Barbieri
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.
2010-04-18p_compiler: add likely/unlikely macrosLuca Barbieri
Defined like the Linux kernel. A explanatory comment is included.