José Fonseca [Tue, 19 Jan 2010 03:33:13 +0000 (19:33 -0800)]
softpipe: Skip depth testing for PIPE_S8_UNORM.
José Fonseca [Tue, 19 Jan 2010 03:32:36 +0000 (19:32 -0800)]
mesa: Handle PIPE_FORMAT_B8G8R8X8_UNORM.
José Fonseca [Thu, 14 Jan 2010 15:07:20 +0000 (15:07 +0000)]
pipebuffer: Ensure buffer size/alignment is not zero.
José Fonseca [Thu, 14 Jan 2010 15:06:48 +0000 (15:06 +0000)]
svga: Ensure buffer size/alignment is not zero.
Vinson Lee [Tue, 19 Jan 2010 03:32:51 +0000 (19:32 -0800)]
mesa: Remove unnecessary headers from lines.c.
Vinson Lee [Tue, 19 Jan 2010 03:23:47 +0000 (19:23 -0800)]
mesa: Remove unnecessary header from mipmap.c.
Vinson Lee [Tue, 19 Jan 2010 03:20:56 +0000 (19:20 -0800)]
mesa: Remove unnecessary header from pixel.c.
Vinson Lee [Tue, 19 Jan 2010 03:14:23 +0000 (19:14 -0800)]
mesa: Remove unnecessary headers from pixelstore.c.
Vinson Lee [Tue, 19 Jan 2010 03:10:05 +0000 (19:10 -0800)]
mesa: Remove unnecessary header from points.c.
Vinson Lee [Tue, 19 Jan 2010 03:03:54 +0000 (19:03 -0800)]
mesa: Remove unnecessary header from polygon.c.
Vinson Lee [Tue, 19 Jan 2010 02:54:54 +0000 (18:54 -0800)]
mesa: Remove unnecessary header from state.c.
Vinson Lee [Tue, 19 Jan 2010 02:52:24 +0000 (18:52 -0800)]
mesa: Remove unnecessary headers from texcompress.c.
Vinson Lee [Tue, 19 Jan 2010 02:14:03 +0000 (18:14 -0800)]
st/dri: Add comment for intentional fallthrough in case statement.
Brian Paul [Mon, 18 Jan 2010 18:26:55 +0000 (11:26 -0700)]
st/mesa: change instruction count assertion to > 0
Shaders should at least have an END instruction.
Marcin Slusarz [Mon, 18 Jan 2010 17:48:06 +0000 (10:48 -0700)]
st/dri: fix optionCache memory leaks
Signed-off-by: Brian Paul <brianp@vmware.com>
Marcin Slusarz [Sun, 17 Jan 2010 22:49:34 +0000 (14:49 -0800)]
glxgears: unbind current context before "destroying" it
glXDestroyContext does not destroy the context if it's still
connected to some window. Unbind context from window to test it.
Signed-off-by: Brian Paul <brianp@vmware.com>
Jakob Bornecrantz [Fri, 15 Jan 2010 01:29:13 +0000 (01:29 +0000)]
st/xorg: If dri2 version is 2 support version 1 as well
Thanks to X server commit
2e2c5b216cc1c7a9bc26bd2c68226aaed5fc52ca
it is possible to be ABI compatible in version 2 with version 1 of
the DRI2 interface.
Jakob Bornecrantz [Fri, 15 Jan 2010 01:14:55 +0000 (01:14 +0000)]
st/xorg: Set enforce version to 1 if not defined
Thomas Hellstrom [Mon, 18 Jan 2010 14:55:17 +0000 (15:55 +0100)]
ws/vmware: Check DRM version also when bootstrapping in dri2 mode.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Mon, 18 Jan 2010 12:33:08 +0000 (13:33 +0100)]
st/dri: Don't request a fake front if the server adds one automatically.
We use the presence of the getBuffersWithFormat extension function to
detect whether the server automatically adds a front.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Vinson Lee [Mon, 18 Jan 2010 08:47:56 +0000 (00:47 -0800)]
mesa: Remove unnecessary headers from texformat.c.
Vinson Lee [Mon, 18 Jan 2010 08:14:51 +0000 (00:14 -0800)]
mesa: Remove unnecessary headers from texgetimage.c.
Vinson Lee [Mon, 18 Jan 2010 06:31:53 +0000 (22:31 -0800)]
mesa: Remove unnecessary header from teximage.c.
Vinson Lee [Mon, 18 Jan 2010 04:50:15 +0000 (20:50 -0800)]
mesa: Remove unnecessary header from texobj.c.
Vinson Lee [Mon, 18 Jan 2010 00:21:11 +0000 (16:21 -0800)]
mesa: Remove unnecessary header from texparam.c.
Vinson Lee [Mon, 18 Jan 2010 00:08:59 +0000 (16:08 -0800)]
mesa: Remove unnecessary headers from texstate.c.
Vinson Lee [Sun, 17 Jan 2010 23:48:39 +0000 (15:48 -0800)]
mesa: Use preprocessor to comment out code.
Vinson Lee [Sun, 17 Jan 2010 09:49:16 +0000 (01:49 -0800)]
mesa: Remove unnecessary headers from vtxfmt.c.
Vinson Lee [Sun, 17 Jan 2010 07:41:05 +0000 (23:41 -0800)]
mesa: Remove unnecessary headers from arbprogparse.c.
Vinson Lee [Sun, 17 Jan 2010 00:15:37 +0000 (16:15 -0800)]
mesa: Remove unnecessary header from nvvertparse.c.
Vinson Lee [Sun, 17 Jan 2010 00:06:58 +0000 (16:06 -0800)]
glsl: Remove unnecessary header from prog_execute.c.
Vinson Lee [Sat, 16 Jan 2010 23:51:52 +0000 (15:51 -0800)]
glsl: Remove unnecessary header from prog_statevars.c.
Vinson Lee [Sat, 16 Jan 2010 23:35:56 +0000 (15:35 -0800)]
glsl: Remove unnecessary headers from shader_api.c.
Vinson Lee [Sat, 16 Jan 2010 23:00:29 +0000 (15:00 -0800)]
glsl: Remove unnecessary header from slang_emit.c.
Vinson Lee [Sat, 16 Jan 2010 21:29:15 +0000 (13:29 -0800)]
st/mesa: Remove unnecessary header from st_cb_drawpixels.c.
Vinson Lee [Sat, 16 Jan 2010 10:20:51 +0000 (02:20 -0800)]
glsl: Remove unnecessary header from slang_builtin.c.
Vinson Lee [Sat, 16 Jan 2010 10:16:24 +0000 (02:16 -0800)]
glsl: Remove unnecessary headers from slang_compile.c.
Vinson Lee [Sat, 16 Jan 2010 10:02:49 +0000 (02:02 -0800)]
glsl: Remove unnecessary header from slang_link.c.
Vinson Lee [Sat, 16 Jan 2010 09:50:08 +0000 (01:50 -0800)]
glsl: Remove unnecessary header from slang_log.c.
Vinson Lee [Sat, 16 Jan 2010 09:39:04 +0000 (01:39 -0800)]
st/mesa: Remove unnecessary header from st_atom_framebuffer.c.
Vinson Lee [Sat, 16 Jan 2010 08:52:34 +0000 (00:52 -0800)]
st/mesa: Remove unnecessary header from st_atom_pixeltransfer.c.
Vinson Lee [Sat, 16 Jan 2010 08:45:36 +0000 (00:45 -0800)]
st/mesa: Remove unnecessary header from st_atom_sampler.c.
Vinson Lee [Sat, 16 Jan 2010 08:36:31 +0000 (00:36 -0800)]
st/mesa: Remove unnecessary header from st_atom_shader.c.
Vinson Lee [Sat, 16 Jan 2010 08:30:25 +0000 (00:30 -0800)]
st/mesa: Remove unnecessary headers from st_cb_accum.c.
Vinson Lee [Sat, 16 Jan 2010 08:08:54 +0000 (00:08 -0800)]
st/mesa: Remove unnecessary headers from st_cb_bitmap.c.
Vinson Lee [Sat, 16 Jan 2010 07:17:00 +0000 (23:17 -0800)]
st/mesa: Remove unnecessary headers from st_cb_blit.c.
Vinson Lee [Sat, 16 Jan 2010 07:02:07 +0000 (23:02 -0800)]
st/mesa: Remove unnecessary headers from st_cb_clear.c.
Vinson Lee [Sat, 16 Jan 2010 06:55:47 +0000 (22:55 -0800)]
st/mesa: Remove unnecessary headers from st_cb_drawpixels.c.
Alex Deucher [Sat, 16 Jan 2010 03:23:40 +0000 (22:23 -0500)]
r600: fill in some missing XRGB tex formats
Alex Deucher [Sat, 16 Jan 2010 01:54:12 +0000 (20:54 -0500)]
r600: set tiling correctly for texturing from depth buffer
Alex Deucher [Sat, 16 Jan 2010 01:53:53 +0000 (20:53 -0500)]
r600: fix typo in SQ setup
Vinson Lee [Sat, 16 Jan 2010 02:24:12 +0000 (18:24 -0800)]
st/mesa: Remove unnecessary header from st_cb_fbo.c.
Vinson Lee [Sat, 16 Jan 2010 02:20:56 +0000 (18:20 -0800)]
st/mesa: Remove unnecessary headers from st_cb_feedback.c.
Vinson Lee [Sat, 16 Jan 2010 00:28:56 +0000 (16:28 -0800)]
st/mesa: Remove unnecessary header from st_cb_program.c.
Vinson Lee [Sat, 16 Jan 2010 00:27:28 +0000 (16:27 -0800)]
st/mesa: Remove unnecessary header from st_cb_queryobj.c.
Brian Paul [Fri, 15 Jan 2010 21:57:55 +0000 (14:57 -0700)]
tgsi: fix detection of front-facing attribute
This code was not updated when we added TGSI_SEMANTIC_FACE a while ago.
Brian Paul [Fri, 15 Jan 2010 21:25:30 +0000 (14:25 -0700)]
swrast: add missing call to _swrast_depth_bounds_test()
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...
Brian Paul [Fri, 15 Jan 2010 21:19:23 +0000 (14:19 -0700)]
swrast: fix broken _swrast_depth_clamp_span()
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.
Vinson Lee [Fri, 15 Jan 2010 07:05:42 +0000 (23:05 -0800)]
st/mesa: Remove unnecessary header from st_cb_rasterpos.c.
Vinson Lee [Fri, 15 Jan 2010 07:03:37 +0000 (23:03 -0800)]
st/mesa: Remove unnecessary headers from st_cb_readpixels.c.
Vinson Lee [Fri, 15 Jan 2010 06:30:00 +0000 (22:30 -0800)]
st/mesa: Remove unnecessary header from st_cb_strings.c.
Vinson Lee [Fri, 15 Jan 2010 06:27:13 +0000 (22:27 -0800)]
st/mesa: Remove unnecessary headers from st_cb_texture.c.
Vinson Lee [Fri, 15 Jan 2010 03:00:27 +0000 (19:00 -0800)]
st/mesa: Remove unnecessary headers from st_cb_viewport.c.
Vinson Lee [Fri, 15 Jan 2010 02:53:51 +0000 (18:53 -0800)]
st/mesa: Remove unnecessary headers from st_context.c.
Vinson Lee [Fri, 15 Jan 2010 02:46:51 +0000 (18:46 -0800)]
st/mesa: Remove unnecessary header from st_draw_feedback.c.
Vinson Lee [Fri, 15 Jan 2010 02:34:59 +0000 (18:34 -0800)]
st/mesa: Remove unnecessary header from st_extensions.c.
Vinson Lee [Fri, 15 Jan 2010 02:19:39 +0000 (18:19 -0800)]
st/mesa: Remove unnecessary header from st_format.c.
Vinson Lee [Fri, 15 Jan 2010 02:10:06 +0000 (18:10 -0800)]
st/mesa: Remove unnecessary headers from st_framebuffer.c.
Vinson Lee [Fri, 15 Jan 2010 01:54:47 +0000 (17:54 -0800)]
st/mesa: Remove unnecessary headers from st_gen_mipmap.c.
Vinson Lee [Thu, 14 Jan 2010 07:28:00 +0000 (23:28 -0800)]
st/mesa: Remove unnecessary header from st_program.c.
Vinson Lee [Thu, 14 Jan 2010 07:16:05 +0000 (23:16 -0800)]
st/mesa: Remove unnecessary header from st_texture.c.
Vinson Lee [Thu, 14 Jan 2010 07:01:03 +0000 (23:01 -0800)]
swrast: Remove unnecessary header from s_accum.c.
Vinson Lee [Thu, 14 Jan 2010 06:58:07 +0000 (22:58 -0800)]
swrast: Remove unnecessary header from s_atifragshader.c.
Vinson Lee [Thu, 14 Jan 2010 06:45:54 +0000 (22:45 -0800)]
swrast: Remove unnecessary header from s_bitmap.c.
Vinson Lee [Thu, 14 Jan 2010 06:43:16 +0000 (22:43 -0800)]
swrast: Remove unnecessary headers from s_copypix.c.
Vinson Lee [Thu, 14 Jan 2010 06:36:01 +0000 (22:36 -0800)]
swrast: Remove unnecessary header from s_depth.c.
Vinson Lee [Thu, 14 Jan 2010 06:30:04 +0000 (22:30 -0800)]
swrast: Remove unnecessary header from s_drawpix.c.
Vinson Lee [Thu, 14 Jan 2010 06:20:44 +0000 (22:20 -0800)]
swrast: Remove unnecessary header from s_feedback.c.
Thomas Hellstrom [Wed, 13 Jan 2010 16:40:41 +0000 (17:40 +0100)]
st/dri: Make sure we always request a fake front.
This should be the correct, but sub-optimal way to handle things on
pre-1.7 servers. For servers that automatically adds a fake front
we should never request the fake front and handle the reply differently.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
José Fonseca [Wed, 13 Jan 2010 13:40:09 +0000 (13:40 +0000)]
svga: Fix compile_vs error code.
It could erroneously return PIPE_OK in some circumstances.
Make compile_fs code identical.
Vinson Lee [Wed, 13 Jan 2010 07:54:15 +0000 (23:54 -0800)]
swrast: Remove unnecessary header from s_fragprog.c.
Vinson Lee [Wed, 13 Jan 2010 05:59:58 +0000 (21:59 -0800)]
swrast: Remove unnecessary header in s_lines.c.
Vinson Lee [Wed, 13 Jan 2010 05:51:19 +0000 (21:51 -0800)]
swrast: Remove unnecessary header from s_points.c.
Vinson Lee [Wed, 13 Jan 2010 05:41:09 +0000 (21:41 -0800)]
swrast: Remove unnecessary header from s_readpix.c.
Vinson Lee [Wed, 13 Jan 2010 04:36:33 +0000 (20:36 -0800)]
swrast: Remove unnecessary header from s_texcombine.c.
Vinson Lee [Wed, 13 Jan 2010 04:14:36 +0000 (20:14 -0800)]
tnl: Remove unnecessary header from t_context.c.
Vinson Lee [Wed, 13 Jan 2010 04:02:44 +0000 (20:02 -0800)]
tnl: Remove unnecessary headers from t_draw.c.
Vinson Lee [Wed, 13 Jan 2010 03:55:24 +0000 (19:55 -0800)]
tnl: Remove unnecessary header from t_pipeline.c.
Vinson Lee [Wed, 13 Jan 2010 03:49:19 +0000 (19:49 -0800)]
tnl: Remove unnecessary header from t_rasterpos.c.
Vinson Lee [Wed, 13 Jan 2010 03:45:25 +0000 (19:45 -0800)]
tnl: Remove unnecessary header from t_vb_program.c.
Vinson Lee [Wed, 13 Jan 2010 01:07:24 +0000 (17:07 -0800)]
vbo: Remove unnecessary headers from vbo_exec.c.
Vinson Lee [Wed, 13 Jan 2010 00:55:36 +0000 (16:55 -0800)]
vbo: Remove unnecessary header from vbo_exec_array.c.
Vinson Lee [Wed, 13 Jan 2010 00:37:30 +0000 (16:37 -0800)]
vbo: Remove unnecessary header from vbo_exec_draw.c.
Vinson Lee [Tue, 12 Jan 2010 08:50:05 +0000 (00:50 -0800)]
vbo: Remove unnecessary headers from vbo_save.c.
Vinson Lee [Tue, 12 Jan 2010 07:53:13 +0000 (23:53 -0800)]
vbo: Remove unnecessary header from vbo_save_loopback.c.
Vinson Lee [Tue, 12 Jan 2010 06:46:30 +0000 (22:46 -0800)]
vbo: Remove unnecessary header from vbo_split_copy.c.
Vinson Lee [Tue, 12 Jan 2010 05:04:16 +0000 (21:04 -0800)]
x86: Remove unnecessary header from x86_xform.c.
Vinson Lee [Tue, 12 Jan 2010 04:24:57 +0000 (20:24 -0800)]
progs/xdemos: Remove unnecessary header from corender.c.
Vinson Lee [Tue, 12 Jan 2010 04:21:50 +0000 (20:21 -0800)]
progs/trivial: Remove unnecessary headers from tri-fbo-tex.c.
Vinson Lee [Tue, 12 Jan 2010 04:15:59 +0000 (20:15 -0800)]
progs/trivial: Remove unnecessary header from tri-fbo-tex-mip.c.