summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2010-01-15swrast: add missing call to _swrast_depth_bounds_test()Brian Paul
We were calling this from the CI span function, but not the RGBA span function. I don't know of a test program for the GL_EXT_depth_bounds_test extension...
2010-01-15swrast: fix broken _swrast_depth_clamp_span()Brian Paul
The integer Z clamping range depends on the number of bits in the Z buffer because that's the scale factor used when we transform NDC coords by the viewport/depth range. Fixes fd.o bug #25972 but only for Z buffers up to a depth of 30 bits. Beyond that we get into messy integer overflow issues and things fall apart.
2010-01-13swrast: Remove unnecessary header from s_accum.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_atifragshader.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_bitmap.c.Vinson Lee
2010-01-13swrast: Remove unnecessary headers from s_copypix.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_depth.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_drawpix.c.Vinson Lee
2010-01-13swrast: Remove unnecessary header from s_feedback.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header from s_fragprog.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header in s_lines.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header from s_points.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header from s_readpix.c.Vinson Lee
2010-01-12swrast: Remove unnecessary header from s_texcombine.c.Vinson Lee
2009-12-31swrast: use different temp array in _swrast_get_dest_rgba()Brian Paul
When using multiple color drawbuffers with blending/logicop/masking we were overwriting color values which we still needed.
2009-12-15Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick
Conflicts: src/gallium/drivers/softpipe/sp_quad_blend.c
2009-12-12swrast: Silence uninitialized variable warnings in s_triangle.cVinson Lee
2009-12-12swrast: Initialize tex_coords in handle_sample_op.Vinson Lee
2009-11-17Merge branch 'outputswritten64'Ian Romanick
Add a GLbitfield64 type and several macros to operate on 64-bit fields. The OutputsWritten field of gl_program is changed to use that type. This results in a fair amount of fallout in drivers that use programs. No changes are strictly necessary at this point as all bits used are below the 32-bit boundary. Fairly soon several bits will be added for clip distances written by a vertex shader. This will cause several bits used for varyings to be pushed above the 32-bit boundary. This will affect any drivers that support GLSL. At this point, only the i965 driver has been modified to support this eventuality. I did this as a "squash" merge. There were several places through the outputswritten64 branch where things were broken. I foresee this causing difficulties later for bisecting. The history is still available in the branch. Conflicts: src/mesa/drivers/dri/i965/brw_wm.h
2009-11-11swrast: handle additional Z24 formats in read_depth_pixels()Brian Paul
2009-11-10swrast: update renderbuffer format assertionsbrian
2009-10-29mesa: Mostly fix swrast's ARB_depth_clamp support.Eric Anholt
I'd written a testcase for the hard part of the extension enablement, so naturally the easy stuff was completely broken. There are still issues, as I'm seeing FLOAT_TO_UINT(max_f) == 0x0 when max_f == 1.0, but it gets piglit depth-clamp-range closer to success.
2009-10-28swrast: added bracesChia-I Wu
2009-10-28Merge branch 'texformat-rework'Brian Paul
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
2009-10-28swrast: fix RGB, RGBA texturing codeBrian Paul
Fix backward component ordering for RGB textures. Only optimize RGBA texture case if running little endian. This restriction could be lifted with a little work.
2009-10-28swrast: check for single texture unit in _swrast_choose_triangle()Brian Paul
2009-10-28swrast: clean up and remove dead code in triangle functionsBrian Paul
2009-10-28swrast: fix texel decoding in opt_sample_rgba_2d()Brian Paul
2009-10-08mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul
_ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
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-30swrast: fix some texformat regressionsBrian Paul
Need to be careful with component ordering for MESA_FORMAT_RGB888 and MESA_FORMAT_RGBA8888.
2009-09-30mesa: remove GLchan-based formats; use hw 8-bit/channel formats insteadBrian Paul
Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
2009-09-30mesa: replace gl_texture_format with gl_formatBrian Paul
Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
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