summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_tritemp.h
Commit message (Collapse)AuthorAgeFilesLines
* fix span->facing computation and gl_FrontFacing initializationBrian2007-12-041-5/+4
|
* fix broken two-sided stencilBrian2007-11-301-4/+5
|
* fix StepX/StepY typoBrian2007-07-031-1/+1
|
* simplify INIT_SPAN codeBrian2007-06-291-1/+1
|
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-472/+158
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* fix some StepX/StepY mix-ups in alpha interpolationBrian2007-05-021-6/+6
|
* s/INTERP_TEX/INTERP_ATTRIBS/Brian2007-04-241-9/+10
|
* remove SWvertex->fog field, use attrib fieldBrian2007-04-231-6/+6
|
* Improve the code for interpolating fragment attributes a little. More to ↵Brian2007-04-231-26/+12
| | | | come...
* fix some CHAN_TYPE==GL_FLOAT breakageRichard Hughes2007-04-071-3/+3
|
* init span.y=0 to silence warningsBrian2007-04-041-0/+1
|
* Merge SWvertex texcoord and varying fields into attrib[] array field.Brian2007-02-051-157/+72
| | | | | Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
* Replace color, z, w, texture interpolants with new generic attrib interpolants.Brian2007-02-021-101/+107
|
* New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵Brian2007-02-021-40/+40
| | | | fields. More to come.
* only setup varying vars that will be usedBrian2007-01-241-3/+9
|
* s/attribute/varying/Brian2006-12-211-4/+5
|
* varying var changesBrian2006-12-151-11/+11
|
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-1/+1
|
* More GLSL code:Michal Krol2006-04-111-1/+65
| | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
* put braces around RENDER_SPAN macro when called, not when defined. Fixes ↵Brian Paul2006-03-291-2/+4
| | | | -pedantic warnings in x11 driver
* fix color interpolation problem reported on VMSBrian Paul2005-11-151-64/+38
|
* check span.y >=0 (bug 4842)Brian Paul2005-10-211-1/+4
|
* Change zLeft and zval to GLuint. Seems to fix 32-bit Z computationBrian Paul2005-09-201-6/+9
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-4/+5
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* undef DEPTH_TYPE at endBrian Paul2005-04-221-0/+1
|
* silence warningBrian Paul2004-12-031-1/+1
|
* added cast to fix AIX color interpolation problem (bug 983144)Brian Paul2004-07-051-14/+14
|
* fix HP occlusion testing when using generic span pathBrian Paul2004-06-241-4/+0
|
* more TRIANGLE_WALK_DOUBLE tweaks (Justin Novosad)Brian Paul2004-03-141-25/+80
|
* Fix color index mode rendering.Brian Paul2004-03-091-3/+6
| | | | Changed SWvertex's index field to GLfloat and fix a few other bits.
* A bit of an overhaul of the fog code.Brian Paul2004-02-171-0/+10
| | | | | | glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected.
* Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoublesBrian Paul2004-02-171-34/+91
| | | | instead of GLfixed. (Justin Novosad)
* some code clean-upsBrian Paul2004-02-151-64/+67
|
* Minor clean-ups of variable scopes, initializations, etc.Brian Paul2004-02-151-29/+51
| | | | | New comments discussing FIXED_FRAC_BITS, SUB_PIXEL_BITS, max viewport size and rasterization accuracy.
* init vars to silence warningsBrian Paul2003-12-131-1/+1
|
* s/_backface_sign/_BackfaceSign/Brian Paul2003-09-181-1/+1
|
* Silence compiler warnings about implicit casts or conversions by supplying ↵Karl Schultz2003-08-301-11/+34
| | | | explicit casts and/or tweaking constant and variable definitions.
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-3/+0
|
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-2/+2
| | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-2/+2
|
* Store partial derivative values in sw_span structure.Brian Paul2003-03-161-179/+187
| | | | | Implemented DDX and DDY fragment program instructions (whew!) Not fully tested yet.
* use TEX_UNIT_LOOP macro to coalesce some codeBrian Paul2003-03-161-156/+80
|
* clean-ups, re-org in preparation for fragment program workBrian Paul2003-03-161-387/+205
|
* fix GLchan=GLfloat problemsBrian Paul2003-03-041-5/+5
|
* fix IBM CPP warning (Evgeny Kotsuba)Brian Paul2003-01-201-3/+6
|
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-13/+13
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* moved function declaration into the template, define the NAME to specify the ↵Brian Paul2002-11-131-5/+9
| | | | function names
* patches from Gerk Huisma for float-channel renderingBrian Paul2002-10-171-3/+3
|
* finished up GL_EXT_stencil_two_sideBrian Paul2002-10-021-1/+2
|
* re-check-in - something didn't work on the previous check-inBrian Paul2002-08-071-164/+164
|