summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_setup.c
AgeCommit message (Collapse)Author
2009-10-30softpipe: Respect gl_rasterization_rules in primitive setup.Michal Krol
2009-10-09softpipe: restore/fix print_vertex() debug helperBrian Paul
2009-10-07softpipe: prefix non-static functions with sp_Brian Paul
2009-09-22softpipe: set quad->facing valueKeith Whitwell
2009-08-23softpipe: remove old prim_setup draw stageKeith Whitwell
Everything now goes through the draw_vbuf handler, the same as regular drivers.
2009-07-24softpipe: actually pass >1 quad from triangle routineKeith Whitwell
First attempt
2009-07-24softpipe: expand quad pipeline to process >1 quad at a timeKeith Whitwell
This is part one -- we still only pass a single quad down, but the code can now cope with more. The quads must all be from the same tile.
2009-07-24softpipe: rip out old mulithread supportKeith Whitwell
2009-07-22softpipe: remove unused vars in sp_setup.cKeith Whitwell
2009-07-22softpipe: use bitwise logic to setup quad masks in sp_setupKeith Whitwell
2009-07-22softpipe: simplify flush_spansKeith Whitwell
No loss of performance, but simpler code.
2009-07-03Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
2009-07-01gallium: fix the front face semanticsZack Rusin
mesa allocates both frontface and pointcoord registers within the fog coordinate register, by using swizzling. to make it cleaner and easier for drivers we want each of them in its own register. so when doing compilation from the mesa IR to tgsi allocate new registers for both and add new semantics to the respective declarations.
2009-06-16softpipe: fix out of bounds quad rasterization bugBrian Paul
For some triangles we can generate quads which lie just outside the surface bounds. Just check the quad's mask before trying to emit/process the quad. Fixes failed assertion in Lightsmark.
2009-06-19Merge branch 'ext-provoking-vertex'Brian Paul
Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
2009-06-16Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/api_validate.c
2009-06-09softpipe: implement flatshade_first for line setupBrian Paul
2009-06-03Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"Brian Paul
This reverts commit 5d75124db480b37977c353511b4e228905b7cc95.
2009-05-30Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"Brian Paul
This reverts commit 5d75124db480b37977c353511b4e228905b7cc95. This fixed unclipped polygons, but broke clipped polygons. A better fix from the mesa 7.5 branch will be merged next...
2009-05-27softpipe: commentsBrian Paul
2009-05-27softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGONBrian Paul
Use the first vertex, not the last.
2009-03-31softpipe: use util_is_inf_or_nan()Brian Paul
And print/warn NaN/Inf in print_vertex().
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-20gallium: remove use of origin_lower_leftBrian Paul
This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
2009-02-11softpipe: asst clean-ups, const correctness, commentsBrian Paul
2009-02-11softpipe: rename PRIM_x to QUAD_PRIM_xBrian
2009-02-11softpipe: rename sp_headers.h to sp_quad.hBrian
This header describes the quad-related datatypes afterall.
2009-02-11softpipe: rename sp_quad.[ch] -> sp_quad_pipe.[ch]Brian
Be more consistant with 'draw' module.
2009-01-27gallium: standardize api on the prefix "nr"Zack Rusin
2008-10-06make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell
2008-09-09softpipe: Silence compiler warning on Windows.Michal Krol
2008-09-08softpipe: Protect pipe_condvar_signal/broadcast calls with a mutex.Michal Krol
2008-09-08softpipe: More improvements for multithreaded softpipe.Michal Krol
Store only input and inout of a quad_header in job que.
2008-09-08softpipe: Split changing fields of quad_header into input, inout and output ↵Michal Krol
parts.
2008-09-08softpipe: Improve multithreaded softpipe.Michal Krol
Use condition vars to communicate between threads instead of stalling.
2008-09-08softpipe: First attempts at multithreaded softpipe.Michal Krol
Configured for 2 cores.
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-22gallium: stop using ifloor(), FABSF(), etcBrian Paul
2008-08-20gallium: test for and cull prims with inf/nan vertices in sp_setup.c code.Brian Paul
2008-08-12softpipe: Include missing header.Michal Krol
2008-08-11gallium: debug/print vertex tweakBrian Paul
2008-08-07gallium: new/better debug code (disabled)Brian Paul
2008-07-15gallium: added some sanity check assertionsBrian Paul
2008-07-02gallium: nr_attrs was off by one, updated comments, minor code movementBrian Paul
2008-05-10gallium: optimize the flush_spans() functionBrian
2008-05-08softpipe: don't calc det if NO_RAST setKeith Whitwell
2008-04-23gallium: more vertex debug codeBrian Paul
2008-04-22gallium: move the vertex print/debug codeBrian Paul
2008-04-22softpipe: implement SP_NO_RAST env varKeith Whitwell
2008-04-14gallium: take reduced prim, fill modes into account when cullingBrian Paul