summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_setup.c
AgeCommit message (Collapse)Author
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-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
2008-04-14softpipe: calculate determinant for all triangles, don't rely on draw module ↵Keith Whitwell
to do it
2008-04-14softpipe: do our own culling, don't rely on the draw module.Keith Whitwell
May not always happen due to passthrough modes, etc.
2008-04-10remove usage of vertex_headerKeith Whitwell