summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2007-06-22fix bug rendering points with fragment program (see #11330)Brian
2007-06-22Fix feedback color bug #11332. In feedback mode, produce float colors.Brian
2007-06-21fix rgba pointer bug hit on zoomed+fogged glDrawPixelsBrian
2007-06-21Another round of fixing attribute interpolation for glDraw/CopyPixels.Brian
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.
2007-06-21rename _swrast_update_fragment_attribs()Brian
2007-06-20fix glDrawPixels + fragment program problemBrian
2007-06-20copy wpos attrib info into zoomed span (fixes fog perspective correction ↵Brian
problem)
2007-06-11Rework _mesa_update_texture_compare_function() to only be called duringBrian
state validation/update. Note that we're still temporarily skipping the test for an active fragment program. Need to fix shadow2D() ...
2007-06-11Replace texobj->Complete with texobj->_Complete since it's a derived field.Brian
2007-06-11Temporarily disable the calls to _mesa_update_texture_compare_function().Brian
This fixes the depth-peel regression reported by Brad King.
2007-06-07Add support for GL_ARB_fragment_program_shadow.Ian Romanick
2007-06-07Fix ARB_fp spec conformance bug WRT shadow sampling.Ian Romanick
The ARB_fp (and other assembly-level fragment program specs) say that the depth comparison function is always GL_NONE in fragment program mode.
2007-05-29check for flat/smooth interp for generic/specular attribBrian
2007-05-24fix logic for calling _swrast_update_deferred_texture()Brian
2007-05-22don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)Brian
2007-05-20Overhaul/simplify SWvertex and SWspan attribute handling.Brian
Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-05-11remove some unneeded code in init_machine()Brian
2007-05-11Remove unused FB_* tokens, re-indent code.Brian
2007-05-11When feeding back texcoords, don't divide by W. See bug 10913.Brian
2007-05-02changes to get DDX/DDY working againBrian
2007-05-02fix some StepX/StepY mix-ups in alpha interpolationBrian
2007-04-28only load front/back face attrib if using a shader (bug 10788)Brian
2007-04-28additional checks that attr is a texcoordKeith Packard
2007-04-25fix attribsMask (re-fixes depth peeling algorithm)Brian
2007-04-24s/DO_TEXVAR/DO_ATTRIBS/Brian
2007-04-24get rid of an extra textured triangle functionBrian
2007-04-24s/TEXTURE/ATTRIBS/Brian
2007-04-24trim down the number of line drawing functions, special casesBrian
2007-04-24only need one CI-mode triangle functionBrian
2007-04-24s/INTERP_TEX/INTERP_ATTRIBS/Brian
2007-04-23disable some errant codeBrian
2007-04-23remove SWvertex->fog field, use attrib fieldBrian
2007-04-23Improve the code for interpolating fragment attributes a little. More to ↵Brian
come...
2007-04-21Fix color sum bug 10688.Brian
2007-04-21Remove the !rb->Data check that was added a few months ago.Brian
Was changed while debugging #7205. Broke the shadowtext demo. Revisit this if the problem w/ bug 7205 returns...
2007-04-21undo a test/debug changeBrian
2007-04-19Put gl_program_machine into swrast structure rather than using a local variable.Brian
Basically an easy way to make sure the memory gets initialized once (to zero) to avoid lots of valgrind warnings.
2007-04-19remove invalid assertion (span->facing may be set because of polygonmode)Brian
2007-04-19Don't allow deferredTexture if using occlusion query and a frag shader.Brian
Occlusion query might depend on the shader killing/discarding fragments. Helps fix depth peeling technique. Also, minor tweaks in interpolate_wpos().
2007-04-18check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669Brian
2007-04-18improved fog commentBrian
2007-04-17Enable texture sampling for vertex programs/shaders.Brian
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.
2007-04-14Fix sample_depth_texture() to handle texture rectangle coords.Brian
2007-04-14fix negative zoom factor bug (10636), more commentsBrian
2007-04-11as with prev commit, also fix color index mode zoomed depth copies (bug 10608)Brian
2007-04-11fix zoomed depth copies (bug 10608)Brian
2007-04-07fix references to non-existant sz4 fieldRichard Hughes
2007-04-07fix some CHAN_TYPE==GL_FLOAT breakageRichard Hughes
2007-04-07fix comment typoBrian