summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* Implement gl_PointCoord attribute for GLSL fragment shaders.Brian2007-10-244-52/+69
| | | | Contains the normalized fragment position within a point sprite.
* Replace repeat_remainder() with a simpler macro that just casts args to ↵Brian2007-10-171-13/+6
| | | | unsigned.
* tweak point rast to fix conform failureBrian2007-09-271-4/+6
|
* mesa: make sure the gotten value isn't greater than theXiang, Haihao2007-09-271-2/+5
| | | | max depth buffer value on 64bit system. fix bug #12095
* mesa: Always use the original mask to update stencil bufferXiang, Haihao2007-09-181-2/+5
| | | | in stencil_and_ztest_pixels. fix #12263
* fix copypixels overlap test bug (#12417)Brian2007-09-141-2/+9
|
* remove reference to ctx->Color.DrawBufferBrian2007-08-161-1/+1
|
* fix even-sized point positioning (bug 11874)Brian2007-08-071-4/+4
|
* fix color interpolation for CHAN_BITS==32Brian2007-07-261-1/+1
|
* don't use rgba_line() if CHAN_BITS==32Brian2007-07-261-1/+5
|
* Remove ctx->Point._Size and ctx->Line._Width.Brian2007-07-213-12/+16
| | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
* clean-up of stencil codeBrian2007-07-111-50/+35
|
* Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax.Brian2007-07-081-3/+3
|
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-045-13/+12
| | | | of -I flags.
* 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
|