Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-12-12 | swrast: Silence uninitialized variable warnings in s_triangle.c | Vinson Lee | 1 | -0/+6 | |
2009-12-12 | swrast: Initialize tex_coords in handle_sample_op. | Vinson Lee | 1 | -1/+1 | |
2009-10-07 | swrast: s/GLfloat/GLuint/ in bzero() | Brian Paul | 1 | -1/+1 | |
2009-10-07 | swrast: add missing returns | Brian Paul | 1 | -0/+2 | |
2009-09-24 | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | 1 | -3/+8 | |
2009-09-23 | swrast: add lod bias when texture sampling | Brian Paul | 1 | -2/+7 | |
Mostly fixes progs/demos/lodbias when MESA_TEX_PROG=1. But the LOD still seems off by -1 or so. May be an issue with the params passed to _swrast_compute_lambda() | |||||
2009-09-23 | swrast: fix typo in partial derivatives parameter passing | Brian Paul | 1 | -1/+1 | |
2009-09-21 | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | 1 | -2/+2 | |
2009-09-21 | swrast: fix cube face selection | Brian Paul | 1 | -2/+2 | |
If arx and ary are equal, we still want to choose from one of them, and not arz. This is the same as Michal's softpipe fix. | |||||
2009-09-03 | swrast: wrap comment to 80 columns, remove dead code | Brian Paul | 1 | -57/+6 | |
2009-09-03 | mesa: consolidate PBO map/unmap helpers | Brian Paul | 3 | -6/+6 | |
Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source(). Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use _mesa_map_pbo_dest(). | |||||
2009-08-31 | swrast: fix selection/feedback regression | Brian Paul | 1 | -1/+1 | |
This fixes a conform selection/feedback regression introduced by commit 8f4d66c5f893b49eb3973aa3b31a856314c045c7 | |||||
2009-08-31 | swrast: can't use deferred texture/shading if using KIL instruction | Brian Paul | 1 | -0/+3 | |
If the fragment program uses KIL, we have to execute it before z/stencil testing. Otherwise, deferred texture/shading lets us skip shading for pixels that fail z/stencil testing. | |||||
2009-08-31 | swrast: fix selection/feedback regression | Brian Paul | 1 | -1/+1 | |
This fixes a conform selection/feedback regression introduced by commit 8f4d66c5f893b49eb3973aa3b31a856314c045c7 | |||||
2009-08-31 | swrast: can't use deferred texture/shading if using KIL instruction | Brian Paul | 1 | -0/+3 | |
If the fragment program uses KIL, we have to execute it before z/stencil testing. Otherwise, deferred texture/shading lets us skip shading for pixels that fail z/stencil testing. | |||||
2009-08-30 | swrast: minor code consolidation | Brian Paul | 1 | -7/+2 | |
2009-08-27 | Merge branch 'mesa_7_5_branch' | Brian Paul | 2 | -7/+9 | |
2009-08-27 | swrast: fix incorrect tri culling in selection/feedback mode. | Brian Paul | 2 | -7/+9 | |
See bug 16866. | |||||
2009-08-12 | Merge branch 'new-frag-attribs' | Brian Paul | 2 | -18/+15 | |
This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere. | |||||
2009-08-08 | swrast: replace GLenum, GLint with GLbitfield for buffer vars | Brian Paul | 1 | -3/+3 | |
2009-08-05 | Merge branch 'mesa_7_5_branch' | Brian Paul | 1 | -180/+3 | |
Conflicts: src/mesa/main/state.c | |||||
2009-08-05 | mesa: make _mesa_clip_blit() a shared function | Brian Paul | 1 | -180/+3 | |
2009-07-31 | swrast: fix incorrect texcoord attribute test | Brian Paul | 1 | -3/+3 | |
2009-07-29 | mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs | Brian Paul | 2 | -17/+14 | |
Previously, the FOGC attribute contained the fragment fog coord, front/back- face flag and the gl_PointCoord.xy values. Now each of those things are separate fragment program attributes. This simplifies quite a few things in Mesa and gallium. Need to test i965 driver and fix up point coord handling in the gallium/draw module... | |||||
2009-06-16 | mesa: fix REMAINDER() macro | Brian Paul | 1 | -1/+1 | |
The results were incorrect for some negative values of A. See bug 21872. | |||||
2009-06-16 | Merge branch 'mesa_7_5_branch' | Brian Paul | 1 | -1/+1 | |
Conflicts: src/mesa/main/api_validate.c | |||||
2009-06-11 | Merge branch 'mesa_7_5_branch' | José Fonseca | 1 | -0/+1 | |
Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c | |||||
2009-06-10 | swrast: fix state validation bug for changing program constants | Brian Paul | 1 | -0/+1 | |
Add _NEW_PROGRAM_CONSTANTS to _SWRAST_NEW_DERIVED. This makes sure that we update the fragment shader's constants when state vars (such as point size) changes. Fixes the progs/glsl/points.c demo. | |||||
2009-06-03 | swrast: always do span clipping in _swrast_write_rgba_span() | Brian Paul | 1 | -14/+4 | |
It's possible for mis-behaving vertex programs to produce vertex data with very large/NaN values. This doesn't get handled reliably by the clipper code so we may try to rasterize triangles that extend beyond the viewport/window. Always clip spans to avoid invalid memory accesses later. | |||||
2009-05-12 | swrast: update/restore the opt_sample_rgb/rgba_2d() functions | Brian Paul | 1 | -15/+9 | |
2009-05-07 | mesa: move the NullBufferObj from GLcontext to gl_shared_state | Brian Paul | 1 | -5/+5 | |
Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state. | |||||
2009-05-07 | swrast: fix span clipping bug | Brian Paul | 2 | -22/+71 | |
If a horizontal span of pixels was located at x < 0 we could sometimes read/write outside of renderbuffer bounds. | |||||
2009-04-28 | swrast: add missing break in clamp_rect_coord_linear() | Brian Paul | 1 | -0/+1 | |
See bug 21461. | |||||
2009-04-21 | swrast: simplify state update logic for fragment shader const buffers | Brian Paul | 1 | -25/+2 | |
2009-04-20 | swrast: fix pointer arithmetic error in get_texel_array() | Brian Paul | 1 | -2/+1 | |
This came from commit 1b2ab023673261b4b942e1126c0b599d02fbd4a0 | |||||
2009-04-09 | swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT code | Brian Paul | 1 | -7/+0 | |
2009-04-07 | swrast: fix point rendering function selection | Brian Paul | 1 | -1/+4 | |
Need to clamp default point size to min/max range before checking if it's one. Fixes glean pointAtten test. | |||||
2009-04-07 | swrast: restore !shader check around add_specular() | Brian Paul | 1 | -4/+6 | |
Fixes a regression from commit 76ac75af8e5481b498981c133836efa2101be2dc. | |||||
2009-04-06 | swrast: more texcombine clean-ups | Brian Paul | 1 | -21/+10 | |
2009-04-06 | swrast: asst. clean-ups in texcombine code | Brian Paul | 1 | -26/+19 | |
2009-04-06 | swrast: fix secondary color add for glBitmap | Brian Paul | 3 | -11/+30 | |
Also, clean up the logic involved in choosing per-vertex vs. per-fragment primary+secondary color addition. | |||||
2009-04-06 | swrast: fix incorrect arithmetic for GL_ADD_SIGNED/GL_COMBINE4_NV mode | Brian Paul | 1 | -6/+6 | |
2009-04-06 | swrast: fix texture border color interpretation | Brian Paul | 1 | -30/+68 | |
The texture border color must be interpreted according to the texture's base format. For example, for a GL_ALPHA texture, sampling the border color should return (0,0,0,borderAlpha). This wasn't an issue here until I removed the legacy texenv code (we always use the combiner path now). | |||||
2009-04-03 | mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float() | Brian Paul | 1 | -2/+2 | |
It was only set to GL_TRUE in one place where it isn't really needed (glGetTexImage(sRGB format)). | |||||
2009-04-01 | swrast: remove unused integer lerp functions | Brian Paul | 1 | -43/+1 | |
2009-04-01 | swrast: remove old texture_apply() code; always use texture combine code | Brian Paul | 3 | -403/+22 | |
2009-04-01 | swrast: fix bad optimization check | Brian Paul | 1 | -1/+2 | |
2009-04-01 | swrast: remove unused parameter | Brian Paul | 1 | -6/+1 | |
2009-04-01 | swrast: minor improvements, clean-ups in texcombine code | Brian Paul | 1 | -9/+8 | |
2009-04-01 | swrast: use float4_array typedef to simplify the code a bit | Brian Paul | 1 | -54/+71 | |