Micah Fedke [Wed, 28 Apr 2010 13:25:58 +0000 (07:25 -0600)]
egl: dri2 driver error output
This patch amends the error output string for the case where the
dri2 egl driver could not open the dri dev node.
Signed-off-by: Brian Paul <brianp@vmware.com>
Brian Paul [Tue, 27 Apr 2010 23:06:17 +0000 (17:06 -0600)]
osmesa: update SRC_DIRS to fix build
Brian Paul [Tue, 27 Apr 2010 23:05:56 +0000 (17:05 -0600)]
osdemos: replace assertion with error handler
Brian Paul [Tue, 27 Apr 2010 22:57:42 +0000 (16:57 -0600)]
osmesa: don't need to link with -lGL
The gl entrypoints are in libOSMesa.so
Pierre Willenbrock [Tue, 27 Apr 2010 21:16:49 +0000 (14:16 -0700)]
mesa: Disable scissor when begining meta operations
Signed-off-by: Brian Paul <brianp@vmware.com>
Pierre Willenbrock [Tue, 27 Apr 2010 21:16:48 +0000 (14:16 -0700)]
mesa: Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targets
Signed-off-by: Brian Paul <brianp@vmware.com>
Pierre Willenbrok [Tue, 27 Apr 2010 21:53:28 +0000 (15:53 -0600)]
glx: Initialize have_back.
Signed-off-by: Brian Paul <brianp@vmware.com>
Jeremy Huddleston [Tue, 13 Apr 2010 01:37:47 +0000 (18:37 -0700)]
Buildfixes to work around issues in OpenGL.framework
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Tue, 13 Apr 2010 01:26:40 +0000 (18:26 -0700)]
Update OpenGL specs
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Sat, 2 Jan 2010 05:03:53 +0000 (00:03 -0500)]
apple: Use mesa gl.h rather than generating one.
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Jeremy Huddleston [Fri, 2 Apr 2010 07:57:38 +0000 (00:57 -0700)]
apple: Integrate our libGL into the existing build system better
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Fri, 2 Apr 2010 07:54:57 +0000 (00:54 -0700)]
darwin: Use clientattrib
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Fri, 2 Apr 2010 08:35:19 +0000 (01:35 -0700)]
apple: Change ifdefs for DRI to be DRI && !APPLE
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Thu, 24 Dec 2009 17:51:17 +0000 (09:51 -0800)]
apple: Remove duplicate headers that already exist in mesa.
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Jeremy Huddleston [Thu, 1 Apr 2010 18:01:31 +0000 (11:01 -0700)]
apple: Initial import of libGL for OSX from AppleSGLX svn repository.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Chia-I Wu [Tue, 27 Apr 2010 15:19:27 +0000 (23:19 +0800)]
glapi: Fix loading of old DRI drivers.
The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func
in
e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 prevents DRI drivers built
before the commit from loading. Add stub versions of the functions to
make them load again.
Pedro Maia [Tue, 27 Apr 2010 14:21:49 +0000 (08:21 -0600)]
nv30/40g: fix calls to draw_create(), draw_set_rasterizer_state()
Signed-off-by: Brian Paul <brianp@vmware.com>
Brian Paul [Tue, 27 Apr 2010 02:32:24 +0000 (20:32 -0600)]
docs: document updated glext.h and glxext.h files
Brian Paul [Tue, 27 Apr 2010 02:32:02 +0000 (20:32 -0600)]
glxext.h: upgraded to 2010/02/10 version
Brian Paul [Tue, 27 Apr 2010 02:31:19 +0000 (20:31 -0600)]
glext: upgraded to version 61
Brian Paul [Fri, 23 Apr 2010 21:36:29 +0000 (15:36 -0600)]
docs: add links to old mailing list archives
Aaron Plattner [Thu, 22 Apr 2010 16:30:42 +0000 (09:30 -0700)]
Fix __glXInitializeVisualConfigFromTags's handling of unrecognized fbconfig tags.
__glXInitializeVisualConfigFromTags doesn't skip the payload of
unrecognized tags. Instead, it treats the value as if it were the
next tag, which can happen if the server's GLX extension is not
Mesa's. For example, this falls down when NVIDIA sends a
GLX_FLOAT_COMPONENTS_NV = 0 pair, causing
__glXInitializeVisualConfigFromTags to bail out early.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Jerome Glisse [Fri, 23 Apr 2010 09:56:06 +0000 (11:56 +0200)]
r600: don't enable depth test if there is no depth buffer
If there is no depth buffer bound to current context don't
enable depth test. GL states that if depth test is enabled
without depth buffer it's as if depth buffer always pass.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Michel Dänzer [Fri, 23 Apr 2010 09:14:13 +0000 (11:14 +0200)]
glx/dri2: Fix build with dri2proto which doesn't define X_DRI2SwapInterval.
Tormod Volden [Thu, 22 Apr 2010 19:52:15 +0000 (21:52 +0200)]
radeon: 9800 SE has only one quadpipe
Although these cards have 2 pipelines on the silicon only
the first passed the QA and the other should be disabled.
http://www.digital-daily.com/video/ati-radeon9800se/
http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Brian Paul [Thu, 22 Apr 2010 16:26:20 +0000 (10:26 -0600)]
st/mesa: add cases for MESA_FORMAT_Z24_X8, MESA_FORMAT_X8_Z24
Brian Paul [Thu, 22 Apr 2010 14:46:46 +0000 (08:46 -0600)]
mesa: fix conversion errors in signed_rgba8888[rev] texel fetch
Without the cast the returned texel colors were wrong.
Also, we don't need the "& 0xff" part anymore.
Bug found by Vinson Lee.
Alex Deucher [Thu, 22 Apr 2010 06:33:10 +0000 (02:33 -0400)]
r300: fix vertex unit setup
RV3xx is 2, RV560,RV570 is 8
Noticed by Tormod Volden.
Aaron Plattner [Thu, 22 Apr 2010 00:13:19 +0000 (18:13 -0600)]
progs/demos: Fix the progs/demos/rain help text
Signed-off-by: Brian Paul <brianp@vmware.com>
Dan Nicholson [Sun, 18 Apr 2010 16:33:03 +0000 (09:33 -0700)]
egl: Pass flags to locate Xlib headers and libraries
eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx
driver and egl programs needs to link to libX11. Make sure we use the
locations the user told us about.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Dan Nicholson [Thu, 1 Apr 2010 21:59:10 +0000 (14:59 -0700)]
progs: Fix linking of Xlib demos for non-autoconf builds
The Xlib demos were fixed to use $(X11_LIBS) so that configure could
detect the proper directory to link the library from, but this broke
the non-autoconf builds. Give X11_LIBS a default value to fallback on.
(cherry picked from commit
e40fce13e152ecf929c899ed38a8e5f7d198c738)
Dan Nicholson [Tue, 16 Mar 2010 03:53:56 +0000 (20:53 -0700)]
Change libX11 variables to not conflict with AC_PATH_XTRA
The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit
e725ef171b5a4d5425461f237d9ccab223806913)
Dan Nicholson [Fri, 2 Apr 2010 13:33:48 +0000 (06:33 -0700)]
gallium: Respect user's CFLAGS for including X headers
This can break on systems that don't have a system X installation.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit
de4ee20578a79e024b0de83c40648112f42c994e)
Conflicts:
src/gallium/winsys/xlib/Makefile
Jeff Smith [Sat, 13 Mar 2010 00:55:09 +0000 (18:55 -0600)]
Use X_LIBS from pkg-config, instead of libdir, for locating libX11
Signed-off-by: Jeff Smith <whydoubt@yahoo.com>
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit
8d86d395dcf6a5f192b6987485bb7aef49f1fefc)
Jesse Barnes [Mon, 19 Apr 2010 21:19:48 +0000 (14:19 -0700)]
DRI2: check for swapAvailable before using swap interval protocol
This should have been part of the last change...
Jesse Barnes [Mon, 19 Apr 2010 16:54:08 +0000 (09:54 -0700)]
DRI2: synchronize swap interval with server at startup time
In the direct rendered case, we need to tell the server our initial swap
interval. If we don't, the local and server values will be out of sync,
since the server and client defaults may be different (as they were
before this patch).
Brian Paul [Mon, 19 Apr 2010 16:10:41 +0000 (10:10 -0600)]
st/mesa: invert scissor rect depending on FB orientation
Fixes fd.o bug 27715
Matthieu Herrb [Mon, 19 Apr 2010 15:32:37 +0000 (09:32 -0600)]
mesa: Fix build with gcc 3.3.
Signed-off-by: Brian Paul <brianp@vmware.com>
Matthieu Herrb [Sun, 18 Apr 2010 23:55:38 +0000 (16:55 -0700)]
radeon: Let this build with gcc 3.3
Declaring the loop index inside for () is not supported by this version.
Signed-off-by: Brian Paul <brianp@vmware.com>
Owain Ainsworth [Sun, 18 Apr 2010 23:55:37 +0000 (16:55 -0700)]
radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl.
This should be drmCommandWriteRead to avoid an EINVAL error on systems
that strictly check ioctl args. This command has been r/w for ever.
Discussion with airlied agreed that this was the correct course.
Signed-off-by: Brian Paul <brianp@vmware.com>
Matthieu Herrb [Sun, 18 Apr 2010 23:55:36 +0000 (16:55 -0700)]
mesa: Use __OpenBSD__ to check for OpenBSD.
Signed-off-by: Brian Paul <brianp@vmware.com>
Brian Paul [Mon, 19 Apr 2010 14:35:53 +0000 (08:35 -0600)]
gallium/draw: use correct rasterization state for wide/AA points/lines
When points or lines are decomposed into triangles, we need to be sure
to disable polygon culling, stippling, "un-filled" modes, etc.
This patch sets the rasterization state to disable those things prior to
drawing points/lines with triangles, then restores the previous state
afterward.
The new piglit point-no-line-cull test checks this problem & solution.
Brian Paul [Fri, 16 Apr 2010 14:25:58 +0000 (08:25 -0600)]
docs: update links for new mesa-users and mesa-announce lists
Tormod Volden [Thu, 15 Apr 2010 17:13:53 +0000 (10:13 -0700)]
savage: call _mesa_meta_init/free()
Fixes crash when using _mesa_CopyTexImage2D.
Bug #27652.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
Arpad Borsos [Wed, 14 Apr 2010 20:26:32 +0000 (14:26 -0600)]
softpipe: Fix division by zero
This can be triggered by running the cairo tests using the gl backend
and softpipe.
Signed-off-by: Brian Paul <brianp@vmware.com>
Michael Schmidt [Wed, 14 Apr 2010 14:12:42 +0000 (10:12 -0400)]
Initialize DRI2 swap interval to 0
https://bugs.freedesktop.org/show_bug.cgi?id=27628
Jesse Barnes [Tue, 13 Apr 2010 16:38:41 +0000 (09:38 -0700)]
DRI2: report swap events correctly in direct rendered case
In the direct rendered case, we need to convert DRI2 swap complete
events to GLX events for the client to consume. This path had what
looks like a stray "& 0x75" from some earlier debugging that prevented
clients from seeing the right event code.
Brian Paul [Tue, 13 Apr 2010 00:45:10 +0000 (18:45 -0600)]
docs: update name, link for mesa-dev list
Vinson Lee [Mon, 12 Apr 2010 00:56:21 +0000 (17:56 -0700)]
i915g: Fix assert.
Maciej Cencora [Sun, 11 Apr 2010 10:39:54 +0000 (12:39 +0200)]
r300: respect radeon common code fallbacks
Fixes progs/demos/shadowtex under KMS
Maciej Cencora [Fri, 9 Apr 2010 19:14:15 +0000 (21:14 +0200)]
r300: set proper vertex index limits also in non indexed mode
Fixes #27521, broken menus in UT2004 and broken water refraction in Sauerbraten.
Alex Deucher [Sat, 10 Apr 2010 00:20:42 +0000 (20:20 -0400)]
r600: add new r7xx pci ids
Kristian Høgsberg [Fri, 9 Apr 2010 02:09:11 +0000 (22:09 -0400)]
glx: Fix config chooser logic for 'mask' matching
When matching attributes using the 'mask' matching criteria, the spec
says that
"Only GLXFBConfigs for which the set bits of attribute include all
the bits that are set in the requested value are
considered. (Additional bits might be set in the attribute)."
The current test returns true if the two bit masks have bits in
common, specifically it matches even if the requested value has bits
set that are not set in the fbconfig attribute. For example, an
application asking for
GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT | GLX_PBUFFER_BIT,
as glxpbdemo does, will match fbconfigs that don't support pbuffer
rendering, as long as they support pixmap rendering.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Brian Paul [Fri, 9 Apr 2010 16:03:31 +0000 (10:03 -0600)]
mesa: fix instruction indexing bugs
We were looping over instructions but only looking at the 0th instruction's
opcode.
Fixes fd.o bug 27566.
Brian Paul [Thu, 8 Apr 2010 19:11:05 +0000 (13:11 -0600)]
docs: link to 7.8.2 release notes
Brian Paul [Thu, 8 Apr 2010 19:10:51 +0000 (13:10 -0600)]
docs: initial 7.8.2 release notes
Brian Paul [Thu, 8 Apr 2010 19:09:01 +0000 (13:09 -0600)]
progs/tests: added some debug code (disabled)
Brian Paul [Thu, 8 Apr 2010 19:05:35 +0000 (13:05 -0600)]
st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) regression
Commit
1454f20a991ddda35f1a2ffda953012078b407ba caused the regression.
When the vertex shader emitted both a texcoord and color we were grabbing
the wrong vertex attributes. Fix the draw_quad() code to put texcoords
in slot[1] and color in slot[2]. That's a bit cleaner than changing
the vertex shader code.
Tested with progs/tests/zreaddraw.c
Li Peng [Thu, 8 Apr 2010 17:52:55 +0000 (13:52 -0400)]
intel: Call intel_prepare_render() in intelClear()
Make sure we have up to date buffers before we start looking at
the tiling bits to determine how to clear.
Dave Airlie [Sat, 3 Apr 2010 03:34:29 +0000 (13:34 +1000)]
texenvprogram: fix for ARB_draw_buffers.
piglit has a test called fbo-drawbuffers, this fails for me on r300g,
and fixing the texenv program to use the DATA outputs fixes it.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Ian Romanick [Mon, 5 Apr 2010 19:45:20 +0000 (12:45 -0700)]
docs: Update 7.8.1 release MD5 sums
Brian Paul [Mon, 5 Apr 2010 17:22:32 +0000 (11:22 -0600)]
mesa: bump MESA_TINY version
Brian Paul [Mon, 5 Apr 2010 17:12:59 +0000 (11:12 -0600)]
docs: added news item for 7.8.1 release
Brian Paul [Mon, 5 Apr 2010 17:10:51 +0000 (11:10 -0600)]
docs: add link to 7.8.1 release notes
Brian Paul [Mon, 5 Apr 2010 17:00:52 +0000 (11:00 -0600)]
softpipe: index the correct blend/mask state index
Need to check pipe_blend_state::independent_blend_enable to determine
which render target/index to use when checking blend enable and colormask
state.
This is part of the fix for piglit/fbo-drawbuffers
Ian Romanick [Mon, 5 Apr 2010 16:51:18 +0000 (09:51 -0700)]
docs: Add 7.8.1 release MD5 sums
Ian Romanick [Mon, 5 Apr 2010 16:49:08 +0000 (09:49 -0700)]
mesa: set version string to 7.8.1
Ian Romanick [Mon, 5 Apr 2010 16:12:33 +0000 (09:12 -0700)]
Initial 7.8.1 release notes
Henri Verbeet [Sun, 4 Apr 2010 17:24:46 +0000 (10:24 -0700)]
mesa: update_arrays() depends on program state.
It uses ctx->VertexProgram._Current.
Signed-off-by: Brian Paul <brianp@vmware.com>
Ian Romanick [Mon, 5 Apr 2010 06:06:01 +0000 (23:06 -0700)]
Update to final names from GLX_INTEL_swap_event spec
Fixes bug #27454.
Ian Romanick [Sun, 4 Apr 2010 23:53:41 +0000 (16:53 -0700)]
gl: updated glxext.h to version 27
Vinson Lee [Sat, 3 Apr 2010 19:14:21 +0000 (12:14 -0700)]
util: Use GCC atomic bultins on GCC 4.1 and higher only.
Jeremy Huddleston [Thu, 1 Apr 2010 19:28:41 +0000 (12:28 -0700)]
xdemos: Build object files first
This helps debugging on darwin.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Vinson Lee [Fri, 2 Apr 2010 07:12:59 +0000 (00:12 -0700)]
glx: Fix compilation errors on non-GLX_DIRECT_RENDERING builds.
Add ifdef guards around variables of types defined only for
GLX_DIRECT_RENDERING.
Chia-I Wu [Fri, 2 Apr 2010 02:27:57 +0000 (10:27 +0800)]
st/vega: Do not depend on libm.
This fixes the "no rule to make target -lm" error on darwin, reported by
Jeremy Huddleston.
Jesse Barnes [Fri, 2 Apr 2010 00:26:04 +0000 (17:26 -0700)]
GLX/DRI2: pass GLX drawable ID to dri2InvalidateBuffers
The IDs will be the same in the case where an X window is used directly
as a GLX drawable, but will fail if a new GLX drawable is created
explicitly, as with glxgears_fbconfig.
Fixes fdo bug #27190.
Jeremy Huddleston [Fri, 2 Apr 2010 00:00:22 +0000 (17:00 -0700)]
Jeremy Huddleston [Thu, 1 Apr 2010 19:14:08 +0000 (12:14 -0700)]
apple: Don't build gallium
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Sat, 2 Jan 2010 05:03:53 +0000 (00:03 -0500)]
apple: Use mesa gl.h rather than generating one.
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Jeremy Huddleston [Thu, 1 Apr 2010 18:18:42 +0000 (11:18 -0700)]
apple: Integrate our libGL into the existing build system better
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Thu, 1 Apr 2010 18:17:04 +0000 (11:17 -0700)]
apple: Change ifdefs for DRI to be DRI && !APPLE
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Thu, 24 Dec 2009 17:51:17 +0000 (09:51 -0800)]
apple: Remove duplicate headers that already exist in mesa.
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
Jeremy Huddleston [Thu, 1 Apr 2010 18:01:31 +0000 (11:01 -0700)]
apple: Initial import of libGL for OSX from AppleSGLX svn repository.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Thu, 1 Apr 2010 19:28:41 +0000 (12:28 -0700)]
xdemos: Build object files first
This helps debugging on darwin.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Thu, 1 Apr 2010 18:51:15 +0000 (11:51 -0700)]
xdemos: Fix a build failure for non-autoconf configs
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Vinson Lee [Thu, 1 Apr 2010 07:10:28 +0000 (00:10 -0700)]
glx: Fix compilation errors on non-GLX_DIRECT_RENDERING builds.
driContext field for __GLXcontextRec struct is only defined if
GLX_DIRECT_RENDERING is set.
Ben Skeggs [Wed, 31 Mar 2010 05:44:25 +0000 (15:44 +1000)]
st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places
Michel Dänzer [Tue, 30 Mar 2010 09:50:13 +0000 (11:50 +0200)]
glx/dri2: Fix debug build with old dri2proto.
Apparently the higher compiler optimization level in non-debug builds was
eliminating the unused functions referencing the unresolved DRI2 symbols...
Brian Paul [Mon, 29 Mar 2010 18:01:28 +0000 (12:01 -0600)]
docs: fix 7.7.1 release date
(cherry picked from commit
e6f5ca0fa3bff975f2acb3a825d77f095bc9f43e)
Ian Romanick [Sun, 28 Mar 2010 23:35:56 +0000 (16:35 -0700)]
mesa: Add 7.8 release MD5 sums
Ian Romanick [Sun, 28 Mar 2010 23:33:53 +0000 (16:33 -0700)]
intel: Bump intel driver date to reflect status as 2010Q1 release
Ian Romanick [Sun, 28 Mar 2010 23:31:08 +0000 (16:31 -0700)]
mesa: set version string to 7.8
Also set the correct release date.
Ian Romanick [Sun, 28 Mar 2010 23:25:47 +0000 (16:25 -0700)]
mesa: Add 7.7.1 release MD5 sums
(cherry picked from commit
0c88e340499c961cc7a06107a727710a67e280ed)
Ian Romanick [Sun, 28 Mar 2010 23:22:44 +0000 (16:22 -0700)]
mesa: set version string to 7.7.1
Also set the correct release date.
(cherry picked from commit
663642b435af2f8ab4b16360783eb367f42486c3)
Vinson Lee [Sat, 27 Mar 2010 21:40:41 +0000 (14:40 -0700)]
progs/tests: Remove duplicate texcompress2 in SConscript.
Vinson Lee [Sat, 27 Mar 2010 21:25:03 +0000 (14:25 -0700)]
i965g: Add brw_winsys_debug.c to SCons build.
Vinson Lee [Sat, 27 Mar 2010 17:07:14 +0000 (10:07 -0700)]
identity: Add id_drm.c to SCons build.
This was missed in commit
f7cbaae13d67c55abe81ac230de37f564365099f.
(cherry picked from commit
02ee7c29502966dffa44243bfc8c20c15907b880)
Brian Paul [Sat, 27 Mar 2010 14:59:17 +0000 (08:59 -0600)]
mesa: move/update hash function comments
(cherry picked from commit
535742d75f0096b22d1b8ff203ae561167af18f7)
Brian Paul [Sat, 27 Mar 2010 14:58:59 +0000 (08:58 -0600)]
mesa: fix deadlock in _mesa_HashFindFreeKeyBlock()
Fixes fd.o bug 27340.
(cherry picked from commit
8fe3b3f66ae57a1a6eca7f6dcb0455e14ad92075)
Michel Dänzer [Fri, 26 Mar 2010 15:29:59 +0000 (16:29 +0100)]
dri/swrast: Fix frontbuffer rendering.
Was broken since the endianness fixes.
(cherry picked from commit
4cf14fa80bda5f4ea65bef3a64e748e064d0bde1)