Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-04-07 | swrast: restore !shader check around add_specular() | Brian Paul | |
Fixes a regression from commit 76ac75af8e5481b498981c133836efa2101be2dc. | |||
2009-04-06 | swrast: fix secondary color add for glBitmap | Brian Paul | |
Also, clean up the logic involved in choosing per-vertex vs. per-fragment primary+secondary color addition. | |||
2009-04-01 | swrast: fix glDrawBuffer(GL_FRONT_AND_BACK) | Brian Paul | |
We weren't putting the right colors into the back buffer in this mode. | |||
2009-03-17 | swrast: use better _swrast_compute_lambda() function | Brian Paul | |
The MAX-based function can produce values that are non-monotonic for a span which causes glitches in texture filtering. The sqrt-based one avoids that. This is perhaps slightly slower than before, but the difference probably isn't noticable given we're doing software mipmap filtering. Issue reported by Nir Radian <nirr@horizonsemi.com> | |||
2009-03-02 | mesa: use Stencil._Enabled field instead of Stencil.Enabled | Brian Paul | |
2009-03-02 | swrast: use _EnabledCoordUnits for fixed-function texturing | Brian Paul | |
Using _EnabledUnits was wrong because it included vertex texture units. This change plus the prev commit fixes occasional failures of glean/glsl1 vertex texture test failure. | |||
2009-02-04 | swrast: add minor comments | Brian Paul | |
2009-01-20 | mesa: silence uninitialized var warnings | Brian Paul | |
2008-09-18 | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | |
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code... | |||
2008-05-14 | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | |
Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch | |||
2008-04-14 | fix multi-draw buffer regression | Brian | |
2008-03-20 | mesa: The span array is only populated in single-pixel | Xiang, Haihao | |
point drawing function. | |||
2008-01-06 | Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835. | Brian | |
These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this... | |||
2007-10-24 | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | |
Contains the normalized fragment position within a point sprite. | |||
2007-09-27 | mesa: make sure the gotten value isn't greater than the | Xiang, Haihao | |
max depth buffer value on 64bit system. fix bug #12095 | |||
2007-08-16 | remove reference to ctx->Color.DrawBuffer | Brian | |
2007-07-26 | fix color interpolation for CHAN_BITS==32 | Brian | |
2007-06-29 | Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors ↵ | Brian | |
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(). | |||
2007-06-22 | fix bug rendering points with fragment program (see #11330) | Brian | |
2007-06-21 | fix rgba pointer bug hit on zoomed+fogged glDrawPixels | Brian | |
2007-06-21 | Another 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-20 | fix glDrawPixels + fragment program problem | Brian | |
2007-05-20 | Overhaul/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-02 | changes to get DDX/DDY working again | Brian | |
2007-04-21 | Fix color sum bug 10688. | Brian | |
2007-04-19 | Don'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-18 | check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669 | Brian | |
2007-04-07 | fix comment typo | Brian | |
2007-03-26 | Add _swrast_span_default_secondary_color() for use with glBitmap, ↵ | Brian | |
glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409. | |||
2007-03-13 | be smarter about which fragment attribs are interpolated before running frag ↵ | Brian | |
progs | |||
2007-03-11 | Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. | Brian | |
GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers. | |||
2007-03-07 | fix deferredTexture bug | Brian | |
2007-02-02 | unroll inner loop of interpolate_varying() | Brian | |
2007-02-02 | simplify interpolate_texcoords() | Brian | |
2007-02-02 | Replace color, z, w, texture interpolants with new generic attrib interpolants. | Brian | |
2007-02-02 | New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵ | Brian | |
fields. More to come. | |||
2007-02-01 | comments | Brian | |
2007-02-01 | New SWspanarrays attribs[] array. | Brian | |
Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups. | |||
2007-01-25 | asst fixes, tranpose span->varying array indexes | Brian | |
2006-12-19 | Overhaul of GLSL API functions, dispatching, etc. | Brian | |
2006-12-15 | varying var changes | Brian | |
2006-12-15 | Renamed s_nvfragprog.[ch] to s_fragprog.[ch] | Brian | |
2006-12-14 | Remove include of s_arbshader.h | Brian | |
2006-12-13 | Checkpoint for GLSL compiler changes. | Brian | |
In brief: Check for enabled fragment program by looking at ctx->FragmentProgram._Current. New code for varying variables. | |||
2006-11-01 | fix some bugs in interpolate_specular() | Brian Paul | |
2006-10-22 | Color clamping fixes. | Brian Paul | |
2006-10-21 | fix another logic error in computing deferredTexture | Brian Paul | |
2006-10-21 | For deferredTexture, need to check if the fragment program/shader writes | Brian Paul | |
the fragment Z. | |||
2006-10-21 | move interpolate_varying() call | Brian Paul | |
2006-10-21 | Move interpolate_texcoords() and interpolate_varying() calls into ↵ | Brian Paul | |
shade_texture_span(). Added some INLINE hints. |