summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* fix StepX/StepY typoBrian2007-07-031-1/+1
|
* use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457Brian2007-07-031-6/+5
|
* simplify INIT_SPAN codeBrian2007-06-2912-31/+55
|
* s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking()Brian2007-06-291-1/+1
|
* Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors ↵Brian2007-06-294-26/+15
| | | | | | | were overwritten by interpolating attributes. Now just set the span->arrayAttribs mask in glDraw/CopyPixels and be sure we don't overwrite the values in interpolate_active_attribs().
* ObsoleteBrian2007-06-291-406/+0
|
* overhaul point rasterization, no longer use s_pointtemp.hBrian2007-06-291-192/+465
|
* fix bug rendering points with fragment program (see #11330)Brian2007-06-222-9/+18
|
* Fix feedback color bug #11332. In feedback mode, produce float colors.Brian2007-06-221-6/+1
|
* fix rgba pointer bug hit on zoomed+fogged glDrawPixelsBrian2007-06-212-12/+12
|
* Another round of fixing attribute interpolation for glDraw/CopyPixels.Brian2007-06-213-15/+32
| | | | | | | | | | Need to turn off FRAG_BIT_COL0 in swrast->_ActiveAttribMask when doing glRead/CopyPixels to prevent the user's colors from getting overwritten when a fragment program is active. This was happening in the DRI drivers when MaintainTexEnv program was used (the texenv fragment program was enabled when _swrast_DrawPixels was called). This still isn't an ideal solution, but fixes things for now.
* rename _swrast_update_fragment_attribs()Brian2007-06-211-3/+4
|
* fix glDrawPixels + fragment program problemBrian2007-06-201-2/+9
|
* copy wpos attrib info into zoomed span (fixes fog perspective correction ↵Brian2007-06-201-2/+4
| | | | problem)
* Rework _mesa_update_texture_compare_function() to only be called duringBrian2007-06-111-20/+0
| | | | | | | state validation/update. Note that we're still temporarily skipping the test for an active fragment program. Need to fix shadow2D() ...
* Replace texobj->Complete with texobj->_Complete since it's a derived field.Brian2007-06-111-1/+1
|
* Temporarily disable the calls to _mesa_update_texture_compare_function().Brian2007-06-111-0/+4
| | | | This fixes the depth-peel regression reported by Brad King.
* Add support for GL_ARB_fragment_program_shadow.Ian Romanick2007-06-071-1/+2
|
* Fix ARB_fp spec conformance bug WRT shadow sampling.Ian Romanick2007-06-072-19/+17
| | | | | The ARB_fp (and other assembly-level fragment program specs) say that the depth comparison function is always GL_NONE in fragment program mode.
* check for flat/smooth interp for generic/specular attribBrian2007-05-291-5/+13
|
* fix logic for calling _swrast_update_deferred_texture()Brian2007-05-241-7/+5
|
* don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)Brian2007-05-221-0/+1
|
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-2025-1976/+1102
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* Initial implementation of MESA_texture_arrayIan Romanick2007-05-161-63/+748
| | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
* remove some unneeded code in init_machine()Brian2007-05-111-5/+0
|
* Remove unused FB_* tokens, re-indent code.Brian2007-05-111-50/+46
|
* When feeding back texcoords, don't divide by W. See bug 10913.Brian2007-05-111-15/+3
|
* changes to get DDX/DDY working againBrian2007-05-022-0/+8
|
* fix some StepX/StepY mix-ups in alpha interpolationBrian2007-05-021-6/+6
|
* only load front/back face attrib if using a shader (bug 10788)Brian2007-04-281-2/+4
|
* additional checks that attr is a texcoordKeith Packard2007-04-283-6/+6
|
* fix attribsMask (re-fixes depth peeling algorithm)Brian2007-04-251-0/+7
|
* s/DO_TEXVAR/DO_ATTRIBS/Brian2007-04-244-18/+18
|
* get rid of an extra textured triangle functionBrian2007-04-241-6/+6
|
* s/TEXTURE/ATTRIBS/Brian2007-04-242-11/+11
|
* trim down the number of line drawing functions, special casesBrian2007-04-242-67/+8
|
* only need one CI-mode triangle functionBrian2007-04-241-29/+9
|
* s/INTERP_TEX/INTERP_ATTRIBS/Brian2007-04-242-11/+12
|
* disable some errant codeBrian2007-04-231-0/+2
|
* remove SWvertex->fog field, use attrib fieldBrian2007-04-237-13/+19
|
* Improve the code for interpolating fragment attributes a little. More to ↵Brian2007-04-237-222/+182
| | | | come...
* Fix color sum bug 10688.Brian2007-04-214-15/+13
|
* Remove the !rb->Data check that was added a few months ago.Brian2007-04-212-2/+2
| | | | | Was changed while debugging #7205. Broke the shadowtext demo. Revisit this if the problem w/ bug 7205 returns...
* undo a test/debug changeBrian2007-04-211-1/+1
|
* Put gl_program_machine into swrast structure rather than using a local variable.Brian2007-04-192-10/+13
| | | | | Basically an easy way to make sure the memory gets initialized once (to zero) to avoid lots of valgrind warnings.
* remove invalid assertion (span->facing may be set because of polygonmode)Brian2007-04-191-2/+0
|
* Don't allow deferredTexture if using occlusion query and a frag shader.Brian2007-04-191-4/+17
| | | | | | Occlusion query might depend on the shader killing/discarding fragments. Helps fix depth peeling technique. Also, minor tweaks in interpolate_wpos().
* check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669Brian2007-04-181-5/+14
|
* improved fog commentBrian2007-04-181-1/+1
|
* Enable texture sampling for vertex programs/shaders.Brian2007-04-172-2/+5
| | | | | | | This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code.