summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2009-10-07Merge branch 'mesa_7_6_branch'Nicolai Hähnle
2009-10-07swrast: s/GLfloat/GLuint/ in bzero()Brian Paul
2009-10-07swrast: add missing returnsBrian Paul
2009-10-03swrast: Move up state validation in _swrast_ReadPixels.Michel Dänzer
This ensures the driver won't map the wrong set of textures.
2009-09-30mesa/main: New feature FEATURE_queryobj.Chia-I Wu
It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and follows the feature conventions.
2009-09-24Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/drivers/dri/r600/r700_chip.c src/mesa/drivers/dri/r600/r700_render.c src/mesa/drivers/dri/r600/r700_vertprog.c src/mesa/drivers/dri/r600/r700_vertprog.h src/mesa/drivers/dri/radeon/radeon_span.c
2009-09-24Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-23swrast: add lod bias when texture samplingBrian Paul
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-23swrast: fix typo in partial derivatives parameter passingBrian Paul
2009-09-23Merge branch 'softpipe-opt'Keith Whitwell
Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
2009-09-21swrast: fix cube face selectionBrian Paul
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-21Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-21swrast: fix cube face selectionBrian Paul
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-19swrast: remove obsolete s_imaging.c fileBrian Paul
2009-09-19swrast: remove prototypes for obsolete functionsBrian Paul
2009-09-19mesa: move readbuffer testsBrian Paul
2009-09-19swrast: remove obsolete s_texstore.cBrian Paul
Replaced by new, simpler meta functions.
2009-09-19swrast: remove prototypes for obsolete functionsBrian Paul
2009-09-16swrast: remove mipmap generation checks (done in core Mesa now)Brian Paul
2009-09-08mesa: Add support for ARB_depth_clamp.Eric Anholt
This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
2009-09-03swrast: wrap comment to 80 columns, remove dead codeBrian Paul
2009-09-03mesa: consolidate PBO map/unmap helpersBrian Paul
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-31swrast: fix selection/feedback regressionBrian Paul
This fixes a conform selection/feedback regression introduced by commit 8f4d66c5f893b49eb3973aa3b31a856314c045c7
2009-08-31swrast: can't use deferred texture/shading if using KIL instructionBrian Paul
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-31swrast: fix selection/feedback regressionBrian Paul
This fixes a conform selection/feedback regression introduced by commit 8f4d66c5f893b49eb3973aa3b31a856314c045c7
2009-08-31swrast: can't use deferred texture/shading if using KIL instructionBrian Paul
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-30swrast: minor code consolidationBrian Paul
2009-08-27Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-27swrast: fix incorrect tri culling in selection/feedback mode.Brian Paul
See bug 16866.
2009-08-24mesa/swrast: use one fewer divide in swrast's choose_cube_face alsoKeith Whitwell
Same change as for softpipe
2009-08-12Merge branch 'new-frag-attribs'Brian Paul
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-08swrast: replace GLenum, GLint with GLbitfield for buffer varsBrian Paul
2009-08-05Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/state.c
2009-08-05mesa: make _mesa_clip_blit() a shared functionBrian Paul
2009-07-31swrast: fix incorrect texcoord attribute testBrian Paul
2009-07-29mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputsBrian Paul
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-16mesa: fix REMAINDER() macroBrian Paul
The results were incorrect for some negative values of A. See bug 21872.
2009-06-16Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/api_validate.c
2009-06-11Merge branch 'mesa_7_5_branch'José Fonseca
Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
2009-06-10swrast: fix state validation bug for changing program constantsBrian Paul
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-03swrast: always do span clipping in _swrast_write_rgba_span()Brian Paul
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-12swrast: update/restore the opt_sample_rgb/rgba_2d() functionsBrian Paul
2009-05-07mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul
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-07swrast: fix span clipping bugBrian Paul
If a horizontal span of pixels was located at x < 0 we could sometimes read/write outside of renderbuffer bounds.
2009-04-28swrast: add missing break in clamp_rect_coord_linear()Brian Paul
See bug 21461.
2009-04-21swrast: simplify state update logic for fragment shader const buffersBrian Paul
2009-04-20swrast: fix pointer arithmetic error in get_texel_array()Brian Paul
This came from commit 1b2ab023673261b4b942e1126c0b599d02fbd4a0
2009-04-09swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT codeBrian Paul
2009-04-07swrast: fix point rendering function selectionBrian Paul
Need to clamp default point size to min/max range before checking if it's one. Fixes glean pointAtten test.
2009-04-07swrast: restore !shader check around add_specular()Brian Paul
Fixes a regression from commit 76ac75af8e5481b498981c133836efa2101be2dc.