Mesa (pipe-video): 436 new commits
Christian König
deathsimple at kemper.freedesktop.org
Tue Apr 26 10:40:47 UTC 2011
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2516a4654463322fede7cd17085dc4dbe92d324e
Author: Christian König <deathsimple at vodafone.de>
Date: Tue Apr 26 11:49:14 2011 +0200
vdpau: implement OutputSurfaceDestroy
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=67d93ea940a9cac1645ce4d6bdc78c5aad812cb6
Author: Christian König <deathsimple at vodafone.de>
Date: Tue Apr 26 11:34:23 2011 +0200
vdpau: implement PresentationQueueDestroy
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13a50bd47deff3e52470a513695c1bdb86908d73
Author: Christian König <deathsimple at vodafone.de>
Date: Tue Apr 26 11:16:54 2011 +0200
vdpau: implement VideoMixerDestroy
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=38bd8131776879e9dc90d06848657756a4a13a66
Author: Christian König <deathsimple at vodafone.de>
Date: Tue Apr 26 01:49:07 2011 +0200
vdpau: add stups for the missing functions
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5aa26412432dbdb3b1677d6d2f74bba010f443ae
Author: Christian König <deathsimple at vodafone.de>
Date: Mon Apr 25 11:39:41 2011 +0200
vdpau: implement and cleanup PresentationQueueTarget destruction
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cde6722b01732e5a897771b56bf8d13719153ec
Author: Christian König <deathsimple at vodafone.de>
Date: Mon Apr 25 10:33:48 2011 +0200
xvmc: futher optimize ycbcr upload
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f04fe5338d0846ec9a6003033da5357d2785c8b
Author: Christian König <deathsimple at vodafone.de>
Date: Mon Apr 25 01:20:15 2011 +0200
[g3dvl] merge idct stage 2 and mc ycbcr stage into a single draw
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=104ac0066394f8246d18c833bca4bcce271b5eef
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Apr 24 20:08:11 2011 +0200
[g3dvl] rework fence handling and add r600g workaround
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ea7e2713c836f23d59c4034385609e371a94c8d
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Apr 24 19:20:33 2011 +0200
[g3dvl] start supporting different render target formats
Let's start with NV12, but anything else shouldn't be much of a problem any more.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b54909910c04313fb45c4e8f39091ad73ec329f3
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Apr 24 16:04:23 2011 +0200
[g3dvl] remove resource_format workaround
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e6528428d4efa6fb2e5101bce2544d8304da3de
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Apr 24 12:57:35 2011 +0200
r600g: implement clamp_fragment_color handling
The first small step to get arb_color_buffer_float working.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68cc6bc5d8b6986acc7f5780d705f4ae9be2a446
Author: Christian König <deathsimple at vodafone.de>
Date: Sun Apr 24 12:47:42 2011 +0200
r600g: remove the unneeded bo from COLOR[0-9]_INFO
The COLOR[0-7]_INFO registers doesn't neeed a bo.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa31b1095eeea97695125ad5770239805bed37da
Merge: 24d76d2966a5c666c9627034e6751621b17024c8 15eaf8297ecb39337109b95480e61f37a6b20f0a
Author: Christian König <deathsimple at vodafone.de>
Date: Sat Apr 23 14:27:40 2011 +0200
Merge remote branch 'origin/master' into pipe-video
Conflicts:
configs/linux-dri
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_state.c
src/gallium/include/pipe/p_format.h
src/gallium/tests/graw/fragment-shader/frag-abs.sh
src/gallium/tests/graw/fragment-shader/frag-add.sh
src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh
src/gallium/tests/graw/fragment-shader/frag-cb-2d.sh
src/gallium/tests/graw/fragment-shader/frag-dp3.sh
src/gallium/tests/graw/fragment-shader/frag-dp4.sh
src/gallium/tests/graw/fragment-shader/frag-dst.sh
src/gallium/tests/graw/fragment-shader/frag-ex2.sh
src/gallium/tests/graw/fragment-shader/frag-face.sh
src/gallium/tests/graw/fragment-shader/frag-flr.sh
src/gallium/tests/graw/fragment-shader/frag-frc.sh
src/gallium/tests/graw/fragment-shader/frag-kil.sh
src/gallium/tests/graw/fragment-shader/frag-lg2.sh
src/gallium/tests/graw/fragment-shader/frag-lit.sh
src/gallium/tests/graw/fragment-shader/frag-lrp.sh
src/gallium/tests/graw/fragment-shader/frag-mad-immx.sh
src/gallium/tests/graw/fragment-shader/frag-mad.sh
src/gallium/tests/graw/fragment-shader/frag-max.sh
src/gallium/tests/graw/fragment-shader/frag-min.sh
src/gallium/tests/graw/fragment-shader/frag-mov.sh
src/gallium/tests/graw/fragment-shader/frag-mul.sh
src/gallium/tests/graw/fragment-shader/frag-rcp.sh
src/gallium/tests/graw/fragment-shader/frag-rsq.sh
src/gallium/tests/graw/fragment-shader/frag-sge.sh
src/gallium/tests/graw/fragment-shader/frag-slt.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-abs.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-absneg.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh
src/gallium/tests/graw/fragment-shader/frag-srcmod-swz.sh
src/gallium/tests/graw/fragment-shader/frag-sub.sh
src/gallium/tests/graw/fragment-shader/frag-tempx.sh
src/gallium/tests/graw/fragment-shader/frag-xpd.sh
src/gallium/tests/graw/vertex-shader/vert-abs.sh
src/gallium/tests/graw/vertex-shader/vert-add.sh
src/gallium/tests/graw/vertex-shader/vert-arl.sh
src/gallium/tests/graw/vertex-shader/vert-arr.sh
src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh
src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh
src/gallium/tests/graw/vertex-shader/vert-dp3.sh
src/gallium/tests/graw/vertex-shader/vert-dp4.sh
src/gallium/tests/graw/vertex-shader/vert-dst.sh
src/gallium/tests/graw/vertex-shader/vert-ex2.sh
src/gallium/tests/graw/vertex-shader/vert-flr.sh
src/gallium/tests/graw/vertex-shader/vert-frc.sh
src/gallium/tests/graw/vertex-shader/vert-lg2.sh
src/gallium/tests/graw/vertex-shader/vert-lit.sh
src/gallium/tests/graw/vertex-shader/vert-lrp.sh
src/gallium/tests/graw/vertex-shader/vert-mad.sh
src/gallium/tests/graw/vertex-shader/vert-max.sh
src/gallium/tests/graw/vertex-shader/vert-min.sh
src/gallium/tests/graw/vertex-shader/vert-mov.sh
src/gallium/tests/graw/vertex-shader/vert-mul.sh
src/gallium/tests/graw/vertex-shader/vert-rcp.sh
src/gallium/tests/graw/vertex-shader/vert-rsq.sh
src/gallium/tests/graw/vertex-shader/vert-sge.sh
src/gallium/tests/graw/vertex-shader/vert-slt.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-abs.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-absneg.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-neg.sh
src/gallium/tests/graw/vertex-shader/vert-srcmod-swz.sh
src/gallium/tests/graw/vertex-shader/vert-sub.sh
src/gallium/tests/graw/vertex-shader/vert-xpd.sh
src/gallium/tools/trace/dump.py
src/gallium/tools/trace/format.py
src/gallium/tools/trace/model.py
src/gallium/tools/trace/parse.py
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=24d76d2966a5c666c9627034e6751621b17024c8
Author: Christian König <deathsimple at vodafone.de>
Date: Sat Apr 23 13:58:08 2011 +0200
[g3dvl] cleanup error handling
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=15eaf8297ecb39337109b95480e61f37a6b20f0a
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Sat Apr 23 12:41:28 2011 +0100
scons: Build classic mesa gdi driver.
Build as
scons platform=windows mesagdi
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e6274fc3b123e7de695038054b5cbd20b11559a
Author: Christian König <deathsimple at vodafone.de>
Date: Sat Apr 23 13:24:35 2011 +0200
[g3dvl] make ycbcr stream and block data a public interface
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c92f3fa6ebe01628546617f91da3b3c10572b16
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Sat Apr 23 12:23:42 2011 +0100
osmesa: Fix Mingw build.
Build as
scons platform=windows osmesa
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e8a56eaa068d431a4b4a1795e2cb52711f168d6
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Sat Apr 23 12:22:59 2011 +0100
scons: Build osmesa.
Just type
scons osmesa
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c89cca648d4ef19dceb0bf8105c2fb4a9761497c
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Sat Apr 23 12:14:39 2011 +0100
mapi/glapi: Avoid warnings about visibility being unsupported on MinGW.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=abda64efce73c18d49c74e5be946b2825ba82cba
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Sat Apr 23 11:49:41 2011 +0100
mesa/vf: Remove.
Unused. Probably replaced by translate module.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de29ee0e6de9e34d19ed20017028614cce7b4ba1
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Sat Apr 23 10:44:43 2011 +0100
graw: Replace dead symlinks to delete python statetracker shaders with their contents.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=931432fea69c29b4029ff23613468c8ad2c0181e
Author: Brian Paul <brianp at vmware.com>
Date: Fri Apr 22 13:37:10 2011 -0600
draw: fix point/line/tri flushing bug in vbuf code
Need to reset the point/line/tri functions to point to the "first"
versions whenever we flush vertices. Fixes unfilled polygon rendering
errors seen in demos/samples/logo.c. See comments for more info.
NOTE: This is a candidate for the 7.10 branch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72239d16cd08113e994ea3508f91193c682b0930
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 22 20:19:38 2011 +0200
r300g: do not advertise color_buffer_float on r300 and r400
It seems they can't do unclamped vertex colors. Tested on RV350.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d07ff63fca91fa98f9734699e499c410d896da4
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 22 18:54:02 2011 +0200
r300/compiler: fix up error message
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=01b036adea7c6534e0c3122c02c289f6fa2804e8
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date: Mon Mar 7 15:10:01 2011 +0100
egl/wayland: Follow buffer.attach removal
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1a91722773152ea96de79d2b446ae488561bb0c
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date: Mon Mar 7 15:06:31 2011 +0100
egl/wayland: Update to buffer.damage addition
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b2ff543ab784107a62ac405ed93fa1629a74cc4
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 22 16:55:54 2011 +0200
configure.ac: fix up the help text for --enable-gallium-r300
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=673cec467a1b60890bb2cc4e8c90f5a05e47eea7
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 22 16:17:18 2011 +0200
r300g: disallow A16F,L16F,LA16F,I16F texture formats on DRM<2.8.0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=400a99a679dfcf671d6d35cc4256d86cad7f9e93
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date: Thu Apr 21 10:51:44 2011 +0200
st/egl: Update to wayland protocol,egl changes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f09c66b3cc9542b0a8f795e34b882c2b8f9f26f7
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date: Thu Apr 21 10:51:14 2011 +0200
egl_dri2: Create wl_buffers for pixmap surfaces
Needed since wayland-egl doesnt do this anymore.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1617b268ef79bd7dc527f6dc65f3ef0d3c51a77d
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date: Thu Apr 21 11:14:02 2011 +0200
egl/wayland: Add new version parameter for post_drm
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2225397d1cf5e4f4a1293495f3a26bd33e5d7ac3
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date: Thu Apr 21 09:39:25 2011 +0200
egl/wayland: Fix prefixes for interface names
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1faf079a692bbf4b24c8e83fa2b331c1e3b58e13
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Apr 20 12:40:40 2011 +0200
swrast: fix readpix clamping
Broken with e5c6a92a12b5cd7db205d72039f58d302b0be9d5. (ARB_color_buffer_float)
Clamping should occur if type != float, otherwise the MSBs of the resulting
pixels are killed off. For example, reading back LUMINANCE = R+G+B can be
greater than 0xff, but the result is naturally masked by 0xff
for UNSIGNED_BYTE, leading to bogus results.
The following bug report seems to want clamping to occur if type == half_float
too. Not sure what's correct.
Bug: [bisected pineview] oglc case pxconv-read failed
https://bugs.freedesktop.org/show_bug.cgi?id=35852
Tested by: Fang Xun <xunx.fang at intel.com>
Reviewed-and-tested-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7142a67473b4fc77bdd58baf7cced9bfc54ccb73
Author: Kristian Høgsberg <krh at bitplanet.net>
Date: Thu Apr 21 23:47:36 2011 -0400
WL_bind_wayland_display: clarify that context must be NULL
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d439491a77cf9f25ea7a7f9c2309d2542d87f83e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 15 22:20:09 2011 -0700
i915: Gut all remaining bits of hardware fog
None of this ever gets used. Fog is always calculated by a fragment
program. Even though the fixed-function fog unit is never used, state
updates are still sent to the hardware. Removing those spurious state
updates can't hurt performance.
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Acked-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=499f7c0114cca195c9569c202ae099ef0277b010
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 15 19:25:59 2011 -0700
i915: i915_context::vertex_fog is always I915_FOG_NONE, so kill it
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Acked-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c41cb17037777de6e4ae596e56a16239429486e9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 15 19:23:13 2011 -0700
i915: There's always a fragment program
Fragment programs are generated by core Mesa for fixed-function.
Because of this, there's no reason to handle cases where there is no
fragment program for fog.
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Acked-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fc5ed18bc0d299a4495b28f02e63b1b75326bbc
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 15 19:14:36 2011 -0700
i915: Delete disabled try_pixel_fog paths
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Acked-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d203a01e20dedcfaab09c18922e8ed9dcb39729
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 15 19:04:57 2011 -0700
mesa: Kill gl_fragment_program::FogOption with fire
All drivers expect this to always be GL_NONE. Don't let there be any
opportunity for a bad value to leak out and infect some unsuspecting
driver. If any driver for hardware that had fixed-function
per-fragment fog (i915 and perhaps some r300-ish) was ever going to
add support, it would have done it by now.
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Acked-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df7555e763b9a4d989788e9b1cd25e8740649e79
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 15 18:46:57 2011 -0700
i915: gl_fragment_program::FogOption is always GL_NONE so don't check it
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Acked-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8780c38983d9570004b4faed754f9d6a102cfb76
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 15 18:46:43 2011 -0700
i965: gl_fragment_program::FogOption is always GL_NONE so don't check it
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Acked-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0188d4b08b84aa72c6d8148ca94e40d665c7b68
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 15 18:45:06 2011 -0700
mesa: gl_fragment_program::FogOption is always GL_NONE so don't check it
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Acked-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3aa21f93dc1329c6f956277f2746c2a0bdae5446
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 15 18:38:54 2011 -0700
mesa: Fix bugs in ff fragment shader fog handling
This patch fixes two bugs related to fog in the fixed-function
fragment shader generation code.
Fog was only lowered to instructions if MRTs were used. The fragment
shader assembler always lowers "fog option" code to instructions, and
many drivers (e.g., r300) expect this.
When fog lowering did happen, it was after the instruction count was
checked against implementation limits. Since fog lowering may add up
to 5 instructions, a program that was below the limits before lowering
may exceed the limits after lowering.
NOTE: This is a candidate for the stable branches.
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Acked-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a22aba4eae9b29db731487bce90e8292f7e82c72
Author: Brian Paul <brianp at vmware.com>
Date: Thu Apr 21 12:59:16 2011 -0600
st/mesa: check image size before copy_image_data_to_texture()
We should only copy images into the dest texture if the size is correct.
This fixes a failed assertion when finalizing a texture with mis-defined
mipmap levels such as:
level 0: 32x32
level 1: 8x8
Also, fix incorrect mipmap level used in assertion at the top of
copy_image_data_to_texture().
NOTE: This is a candidate for the 7.10 branch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ad63659c09499f4e538d71aec42035246747ffd
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Apr 21 15:13:34 2011 +0200
galahad,util: warn on resource target mismatch in copy_region
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9dafcb8f242a6f0d06ff3dcb2d4bb7d73b91b57
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Apr 21 12:54:56 2011 +0200
st/mesa: implement CopyBufferSubData using resource_copy_region
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=883d8a0b449b53d83cc5970d2ce50df536aef55f
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Apr 21 12:53:16 2011 +0200
gallium: add fallback for copying buffers to all drivers
Just to keep drivers working.
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64f55216e4c11e8acb787bfe40e6dd25e862cd43
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Apr 21 12:50:00 2011 +0200
util: add a simple memcpy path for copying buffers in util_resource_copy_region
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=08ba9778dbf3326bdfc8ca8035b51412032748ea
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Apr 14 17:21:59 2011 -0700
glsl/ast_to_hir: Only use the local 'type' variable as a temporary.
Lots of code (deleted by this patch) tried to make type == result->type,
but not all cases did. Don't pretend; just use result->type.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfaaf7c5e8d05ebf544f758be79f12c824c5cdd7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 19 15:33:15 2011 -0700
i965: Remove dead vertex buffer structs.
We do this OUT_BATCH-style in brw_draw_upload.c.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0f8c9911c82c576cdd82dabad4a2370ac53565c
Author: Kristian Høgsberg <krh at bitplanet.net>
Date: Thu Apr 14 10:42:41 2011 -0400
wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_display
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=42d377224af0fcf5a21269958ce5f96c4306c4fa
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 20 12:04:25 2011 -0600
mesa: fix void pointer arithmetic warning
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ea0aa4cd9eeea17b84860fd5ab7a70aabcf1efc
Author: Eric Anholt <eric at anholt.net>
Date: Mon Apr 18 13:45:00 2011 -0700
docs: Mention that GLSL 1.30 is started.
Things definitely remaining todo: switch statements, clip distances.
On 965, we also need real integers in the VS, and implementations of
some things like isinf/isnan.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e13cbcb749c017ebece5dbebb780f67cbc9a15b
Author: Eric Anholt <eric at anholt.net>
Date: Mon Apr 18 13:44:35 2011 -0700
docs: Update for Intel ARB_texture_float and ARB_color_buffer_float.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d22e2ebe35ef9d33ec5f7a67f903f36bcd9fbc91
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 14:40:09 2011 -0700
intel: Add support for ARB_color_buffer_float.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=99fa449bb9cf93a8dd2b840804c5bc44e51483dc
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 14:39:47 2011 -0700
meta: Add support for ARB_color_buffer_float to _mesa_meta_Clear().
Tested with piglit arb_color_buffer_float-clear.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2491972591788fea0e55805cea3e9be8760969b
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 15:48:32 2011 -0700
meta: Add support for ARB_color_buffer_float to _mesa_meta_DrawPixels.
Tested with piglit arb_color_buffer_float-drawpixels.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=87478cd6e3e6349abc2688b390f8845d1e21af3d
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 11:00:00 2011 -0700
intel: Add support for ARB_texture_float.
For 1 and 2-channel formats the hardware only supports rendering to R
and RG. To do I and L render targets we just call them R and
everything works out. For A, we would need to rewrite the CC to do
the alpha channel's blending on color instead, and send the fragment
alpha down the red channel. For LA, there doesn't seem to be any
hope, because we can't do independent color/alpha blending while
treating the LA surface as RG.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bbbeba2db0f3fd382d2f591bebc248c5ed40fb5
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 18:15:59 2011 -0700
intel: Add support for blit copies of >32bpp formats.
The blitter only does up 32bpp at a time, so we handle it by mangling
coordinates and calling the surface 32bpp.
Fixes ARB_texture_rg/fbo-generatemipmap-formats-float with ARB_texture_float.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b31a99367ca374e58ce8dda8a826e71fa9a922f3
Author: Eric Anholt <eric at anholt.net>
Date: Mon Apr 18 10:53:06 2011 -0700
mesa: Add renderbuffer accessors for A, I, L, FLOAT32.
Of these, intel will be using I and L initially, and A once we rewrite
fragment shaders and the CC for rendering to it as R.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bad08969b50bc5b2d014043d55b30323d408e080
Author: Eric Anholt <eric at anholt.net>
Date: Mon Apr 18 09:17:00 2011 -0700
mesa: Add renderbuffer accessors for MESA_FORMAT_R_FLOAT32, RG_FLOAT32.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7c26109c2cc61150d678529c8b0b5e769e9607e
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 14:18:43 2011 -0700
mesa: Add ChooseTexFormat fallbacks for floating point textures.
This covers X_FLOAT16 -> X_FLOAT32, and X -> RGBA_FLOAT32.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba99c2fbd95c5ecd741767d0c37eaf94bf655342
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 13:36:40 2011 -0700
mesa: Add renderbuffer accessors for MESA_FORMAT_RGBA_FLOAT32.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a45b757f788d3a59a446fe2596065ec5f0d5eac2
Author: Eric Anholt <eric at anholt.net>
Date: Mon Apr 18 09:32:06 2011 -0700
swrast: Add LUMINANCE, INTENSITY, LUMINANCE_ALPHA to span asserts.
Fixes ARB_texture_float/fbo-alphatest-formats.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=abee17057f52a1b83ab5d7897bc9299e452b5953
Author: Alex Deucher <alexdeucher at gmail.com>
Date: Wed Apr 20 13:09:09 2011 -0400
r600g: fix userspace fences again
reinstate b7617346dcff50a66a10c61b95c33682cf629c9e after the
rework in 6067a2a67f9a7aab2aee051469bea8af03747a95.
Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6067a2a67f9a7aab2aee051469bea8af03747a95
Author: Fredrik Höglund <fredrik at kde.org>
Date: Wed Apr 20 00:21:42 2011 +0200
r600g: don't flush the dest caches on every draw
Keep track of when the caches are dirty, and only flush them when
the framebuffer state is set and when the context is flushed.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b7f760f835f870b8f6af6c4d6613d44440f1dc5
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 19 16:13:43 2011 -0600
translate: disable clamping of instanced array indexes
This fixes piglit's draw-instanced-divisor test for softpipe on both
the generic and SSE paths. This is temporary until we have the
correct per-array max_index information.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=08d1c91e6c185a186e49189b7ed48629f35a4659
Author: Alex Deucher <alexdeucher at gmail.com>
Date: Tue Apr 19 13:35:19 2011 -0400
r600g: add evergreen+ big endian support
Based on Cédric's r6xx/r7xx patch.
Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=843dfe3206c4f397c7911b748373dde5540392a4
Author: Cédric Cano <ccano at interfaceconcept.com>
Date: Tue Apr 19 13:02:14 2011 -0400
r600g: add big endian support for r6xx/r7xx
Signed-off-by: Cedric Cano <ccano at interfaceconcept.com>
Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b545b2987aaca856f3a54ecb31fb4646bf619cc6
Author: Alex Deucher <alexdeucher at gmail.com>
Date: Tue Apr 19 12:03:55 2011 -0400
r600c: add evergreen big endian support
Based on Cedric's r6xx/r7xx patch.
Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c3a2596033d88848392c4aab5cc16d96afe149f
Author: Cédric Cano <ccano at interfaceconcept.com>
Date: Tue Apr 19 11:14:23 2011 -0400
r600c: add big endian support for r6xx/r7xx
Signed-off-by: Cedric Cano <ccano at interfaceconcept.com>
Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a6061d7a6d9938f3454b7458df1480d856b83e2
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 19 09:07:44 2011 -0600
Makefile: add missing Scons files
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=494b333b03a506738852b9e234416147a2172761
Author: Thierry Vignaud <thierry.vignaud at gmail.com>
Date: Tue Apr 19 08:34:06 2011 -0600
Makefile: add missing .cpp, .ll, .yy files
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66866d642fe8f8fba141d50a81b08793c3bd63e8
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Apr 19 20:42:48 2011 +1000
r600g: add cb support for snorm formats.
Check for signed type and enable SNORM.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5722286be21a2f766a5f44e19e8005023d26b959
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Apr 19 12:28:51 2011 +0200
configure.ac: rename --enable-gallium-radeon to --enable-gallium-r300
Also fix up the help string for both r300 and r600.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab13ebf7c138cc54b405b990159c6b8ed0531d58
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Apr 17 23:41:33 2011 +0200
r200: enable some extensions
Such as:
- GL_ARB_half_float_pixel
- GL_ARB_vertex_array_object
- GL_APPLE_vertex_array_object
- GL_EXT_gpu_program_parameters
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c98fa6be4bacea22e0310e7f0e447d4eaa2a78e9
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Apr 19 18:44:43 2011 +1000
r600g: fix warnings with piglit texture-rg test.
Fill in the swaps for the formats to fix warnings.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=723e35d4a6a0cc103109c326e1c523f18f60fd2a
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Apr 19 16:39:50 2011 +1000
r600g: make loop const always flush
this needs revisiting, we really don't want to be flushing all 32 of these,
but currently we don't flush any of them, and it seems to have caused a regression
as reported on irc with doom3 on evergreen.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ffc1d166d24532aeaa4dcf06a431e43ab7e7e315
Author: Tom Stellard <tstellar at gmail.com>
Date: Mon Apr 18 21:16:14 2011 -0700
r300/compiler: Fix dataflow analysis bug with ELSE blocks
Writes within ELSE blocks were being ignored which prevented us from
discovering all possible writers for some register values.
Fixes piglit glsl-fs-raytrace-bug27060
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f41e1db3273a31285360241c4342f0a403ee0b03
Author: Bryan Cain <bryancain3 at gmail.com>
Date: Mon Apr 18 01:39:08 2011 -0500
glsl: fix conversions from uint to bool and from float/bool to uint
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f05adb83f5fed4b406670585ac42c290bf88bc0d
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Apr 19 10:08:18 2011 +1000
r600g: add dirty tracking to context reg.
just makes the code more consistent.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b5a16e3203379d7a54d4657df7c1357d14df058
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Apr 19 10:04:02 2011 +1000
r600g: deinline some large functions.
really at these sort of sizes these are pointless inlines.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6e32da8bd7a79eaa36f410edc357a10f878ac30
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Apr 19 10:00:03 2011 +1000
r600g: consolidate r600/evergreen code for resource emission.
These really didn't have much difference, and totally not inline material.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02522b76a1562f8b7317a25e2705927f7bbfed07
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Wed Apr 13 20:36:15 2011 +0200
r600g: don't flush caches if we already did so, even for a subset of the flags
Merging the flushes that are left doesn't seem to give a significant
performance improvement
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3b9cf15bbef3fc06f576a378fab70081ee48fba
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Apr 18 13:37:10 2011 +1000
r600g: attempt to avoid emitting resources that are the same
This just avoids reemitting resources that haven't changed.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=162bc40eed9dc54091b6e64bcd7eab06607b500d
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Apr 18 13:03:06 2011 +1000
r600g: modify block to only emit the first few dirty registers. (v2)
This gets me from 2200 to 1978 dwords for a gears frame.
This is due to us having some 32-dwords blocks in the SPI, that we only
modify the first dwords off.
v2: fix dirty reg count from Bas Nieuwenhuizen
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c058067e578e4426f56f9b23e33e3d3fac4562f7
Author: Dave Airlie <airlied at redhat.com>
Date: Sun Apr 17 17:35:44 2011 +1000
r600g: track dirty registers better. (v2)
This is a first step to decreasing the CPU usage, by decreasing how much
stuff we pass to the GPU and hence to the kernel CS checker.
This adds a check to see if the values we need to write are actually dirty,
and avoids writing if they are. However certain register need to always
be written so we add a new flag to say which ones should be always written
if used. (Note this could probably be done cleaner with a larger refactoring,
since I think the CONST_BUFFER_SIZE_PS/VS and CONST_CACHE_PS/VS might
be better off as a special state).
It also moves the need_bo to be a flags on the register now.
With this, a frame of gears goes from emitting 3k dwords to emitting 2k dwords,
and I'm sure it could get a lot smaller.
v2: fix some evergreen dirty bits.
Original patch from: Bas Nieuwenhuizen, I NIHed nearly the same thing
before seeing his patch on the list, oops.
Reviewed-by: Bas Nieuwenhuizen
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=edf2e4f79d5b27cb909b37fabc35e68d14af0834
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Apr 18 17:06:08 2011 -0700
glsl: 80-column wrapping and whitespace fixes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff5dd55e264d8f0282aa3ae3dc4f6ab26d98731d
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Apr 14 14:37:46 2011 -0700
i965: Convert 3DPRIMITIVE command from struct-style to OUT_BATCH style.
Most of the newer portions of the code use OUT_BATCH style. I prefer
this style because it offers a clear distinction between a) hardware
messages/structures with a mandatory format, and b) data structures for
our own internal use that we can format however we want.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=42a805700039e81a9245f46f153e2cd9705cd0d7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 12 15:42:06 2011 -0700
i965: Allocate the whole URB to the VS and fix calculations for Gen6.
Since we never enable the GS on Sandybridge, there's no need to allocate
it any URB space.
Furthermore, the previous calculation was incorrect: it neglected to
multiply by nr_vs_entries, instead comparing whether twice the size of
a single VS URB entry was bigger than the entire URB space. It also
neglected to take into account that vs_size is in units of 128 byte
blocks, while urb_size is in bytes.
Despite the above problems, the calculations resulted in an acceptable
programming of the URB in most cases, at least on GT2.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d5cfcfed16c5a79bdf67027afe4ea8058b899cb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Apr 11 10:10:30 2011 -0700
glsl: Emit a warning when the left-hand operand of a comma has no effect
The expression
x = y, 5, 3;
will generate
0:7(9): warning: left-hand operand of comma expression has no effect
The warning is only emitted for the left-hand operands, becuase the
right-most operand is the result of the expression. This could be
used in an assignment, etc.
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ca38f5d973cf93bf19e27f3f24c0896e43b16e6
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 18 12:59:28 2011 -0600
mesa: fix void pointer arithmetic warnings
And fix a couple logic errors in the put_*_generic() functions.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9418d05914bdd961cdeaf34bf09dea2a7259c05e
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 18 12:43:42 2011 -0600
mesa: fix wrong parameter type in set_sampler_max_lod()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1249e54f8bfbf502f41179972644cd15d91c31dc
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 18 08:19:42 2011 -0600
nvfx: comment-out unused var
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dad95c112f09b9978d71ababe80c4e34121d49f0
Author: Eric Anholt <eric at anholt.net>
Date: Sun Apr 17 10:44:46 2011 -0700
intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype().
Fixes warnings in fbo-storage-formats.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc57df03568e9e1f05b9d29df8e3a7fe58d5a196
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 20:00:38 2011 -0700
Revert "intel: Add spans code for the ARB_texture_rg support."
This reverts what remains of commit
28bab24e1698843e27d27204a1117066e7ffeabb. It was garbage, trying to
use a MESA_FORMAT enum as a preprocessor token, and I don't know how I
thought it was even tested.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=73f07004811a2522b45179c74cd9a6d6d2e5c578
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 19:58:21 2011 -0700
intel: Use mesa core's R8, RG88, R16, RG1616 RB accessors.
Fixes:
ARB_texture_rg/fbo-alphatest-formats
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b624634dda23d3b94045fb07aea558df39b48ff
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 19:55:38 2011 -0700
swrast: Don't try to adjust_colors for <8bpc when handling R16, RG1616.
The GL_RED and GL_RG were tricking this code into executing, but it's
totally unprepared for a 16-bit channel and just rescaled the values
down to 0. We don't have anything with <8bit channels alongside >8bit
channels, so disabling it should be safe.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0471d904cf5c03ecf2528268a116e4f147cd3c1
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 19:11:53 2011 -0700
mesa: Add renderbuffer accessors for R8/RG88/R16/RG1616.
This will replace the current (broken by trying to use an enum in the
preprocessor) spantmp2.h support I wrote for the intel driver.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a52803e1087749bfa571c29fc4c1a73fa9b7bf8e
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 13:09:21 2011 -0700
mesa: Use _mesa_get_format_bytes to refactor out the RB get_row_*
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ab9889a2704304a45b4da5b28840af08f6f42c5
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 12:58:17 2011 -0700
mesa: Use _mesa_get_format_bytes to refactor out the RB get_pointer_*
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0778fdb002b000e241b042ad65b6da6dd8480454
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 11:58:58 2011 -0700
intel: Use Mesa core's renderbuffer accessors for depth.
Since we're using GTT mappings now (no manual detiling), there's
really nothing special to accessing these buffers, other than needing
the new RowStride field of gl_renderbuffer to accomodate padding.
Reduces the driver size by 2.7kb, and improves glean depthStencil
performance 3-10x (!)
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f164823c79bf933bf88217894129dc2eae0cbed
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 11:47:35 2011 -0700
mesa: Add a function to set up the default renderbuffer accessors.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=155200c15431f8364114d9a37ec527af81c773a5
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 11:37:23 2011 -0700
mesa: Add a gl_renderbuffer.RowStride field like textures have.
This will allow some drivers to reuse the core renderbuffer.c get/put
row functions in place of using the spantmp.h macros. Note that
unlike textures, we use a signed integer here to allow for handling
FBO orientation.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=348ea34d0310cc862ad3c078d8703c6c1f0b602f
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 11:13:44 2011 -0700
mesa: Repack single-byte fields in gl_renderbuffer.
Cuts 8 out of 120 bytes in the struct.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=91226ce6487e9ea9c21f5a269f63cf98affa8ef4
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 11:06:36 2011 -0700
mesa: Remove renderbuffer deletion debug field.
It has presumably served its purpose by now, and other object deletion
doesn't do this.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=641dd899bd485c194c20a871633797a47e4f912d
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 17:50:41 2011 -0700
swrast: Don't assert against glReadPixels of GL_RED and GL_RG.
Everything appears to already be in place for this. Fixes aborts in:
ARB_texture_rg/fbo-alphatest-formats-float
ARB_texture_rg/fbo-blending-formats-float.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd3568c329cff16333455fa2228a7c27b261cf05
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 15 20:28:51 2011 -0700
intel: Use _mesa_base_tex_format for FBO texture attachments.
The _mesa_base_fbo_format variant doesn't handle some texture
internalformats, such as "3".
Fixes:
fbo-blending-formats.
fbo-alphatest-formats
EXT_texture_sRGB/fbo-alphatest-formats
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=699ecec58c6925fb174ecf925158df6cce59be59
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Apr 18 03:07:11 2011 +0200
r300g: remove non-existing include path from SConscript
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d35aeff4bb0b03450b2c3c08bd7f84db5bf43283
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Apr 18 02:39:50 2011 +0200
r300g/winsys: rename r300->radeon and do a little cleanup
Renaming a few files, types, and functions.
Also make the winsys independent of r300g.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f79717d27aaf471b9cd6eed0d74cbf37ec697361
Author: Thierry Vignaud <thierry.vignaud at gmail.com>
Date: Mon Apr 18 01:25:44 2011 +0200
Fix mesa tarball creation again
Signed-off-by: Marek Olšák <maraeo at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc8e30edbcc802aac61a3562a3be42bb18b5dcd5
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Apr 17 01:57:13 2011 +0200
r600g: disable ARB_draw_instanced
The very presence of this extension breaks things.
This should bring us closer to being able to run Unigine Heaven.
The extension will be re-enabled once gl_InstanceID is implemented.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f32efa2b88e2ea7f62bc666df4fbf4e1dde4535
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Apr 18 00:43:19 2011 +0200
r300g: disable ARB_draw_instanced on SWTCL chipsets.
This fixes Unigine Heaven.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4673f9433fb73febce796945e3883274636fbf62
Author: Eric Anholt <eric at anholt.net>
Date: Thu Apr 14 20:25:33 2011 -0700
i965: Quit spamming gen6 DP read/write send instructions with gen5 bits.
This was copy-and-paste from originally trying to get DP read/write
working reliably, and notably for other common messages (URB, sampler)
we weren't doing this.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59c6b775a6aacfe03c84dae62c2fd45d4af9d70b
Author: Eric Anholt <eric at anholt.net>
Date: Thu Apr 14 19:36:28 2011 -0700
i965/fs: Add gen6 register spilling support.
Most of this is code movement to get the scratch space allocated in a
shared location. Other than that, the only real changes are that the
old oword block messages now operate on oword-aligned areas (with new
messages for unaligned access, which we don't do), and that the
caching control is in the SFID part of the descriptor instead of
message control.
Fixes glsl-fs-convolution-1.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14eedf3028422e98ac05713a3e3c37e6c9b4cf37
Author: Eric Anholt <eric at anholt.net>
Date: Wed Apr 13 10:50:56 2011 -0700
mesa: Fix _mesa_unpack_dudv_span_byte assertion.
It was accepting only GL_DUDV_ATI and not the specific sized format
GL_DU8DV8_ATI. Fixes assertion failure at startup in Shadowgrounds.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9dacbe222641443af000a82161922a5ade206340
Author: Carl Worth <cworth at cworth.org>
Date: Fri Apr 15 12:03:25 2011 -0700
glcpp: Fix attempts to expand recursive macros infinitely (bug #32835).
The 095-recursive-define test case was triggering infinite recursion
with the following test case:
#define A(a, b) B(a, b)
#define C A(0, C)
C
Here's what was happening:
1. "C" was pushed onto the active list to expand the C node
2. While expanding the "0" argument, the active list would be
emptied by the code at the end of _glcpp_parser_expand_token_list
3. When expanding the "C" argument, the active list was now empty,
so lather, rinse, repeat.
We fix this by adjusting the final popping at the end of
_glcpp_parser_expand_token_list to never pop more nodes then this
particular invocation had pushed itself. This is as simple as saving
the original state of the active list, and then interrupting the
popping when we reach this same state.
With this fix, all of the glcpp-test tests now pass.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32835
Signed-off-by: Carl Worth <cworth at cworth.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-and-tested-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93d42571a631cb273df15fc1930e5b27f2970d9b
Author: Dave Airlie <airlied at redhat.com>
Date: Sun Apr 17 17:19:28 2011 +1000
r600g: use some loops.
unrolling loops is for Gentoo users, and I really want to put something
else inside these loops later.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=70de2705b495c6f61437d24c6e5b9c411ebbacbf
Author: Dave Airlie <airlied at redhat.com>
Date: Sun Apr 17 17:11:36 2011 +1000
r600g: consolidate the same piece of cut-n-paste code into a function.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5dfc38eea8a4b497574ca791452c11fa4163c8a
Author: Marcin Slusarz <marcin.slusarz at gmail.com>
Date: Sat Apr 16 22:15:52 2011 +0200
gallium: include u_format.h for util_format_is_supported
Without it gcc complains:
nv50_screen.c: In function ‘nv50_screen_is_format_supported’:
nv50_screen.c:48: warning: implicit declaration of function ‘util_format_is_supported’
and handles it wrongly - util_format_is_supported returns boolean, which is typedef'ed
to uchar, but function without prototype is assumed to return int.
For me nv50_screen_is_format_supported was returning true for float formats without
--enable-texture-float...
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=25a7f662145f56ad15dbdf3da203a8a85594276f
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sat Apr 16 15:24:07 2011 +0200
nvc0: work around what looks like a code prefetch bug
Sounds very unlikely, but I don't have a better explanation at the
moment.
The GPU throws page faults at the first page after the code buffer
quite frequently on startup, and traces don't show us overflowing.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4ad25fefb33ad4930b09c685688ba71b4a21f32
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sat Apr 16 13:24:44 2011 +0200
nv50,nvc0: add new texture and render target formats
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4c7cd3fd6a8ae4b3c704e7c284e10fdb9746153
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sat Apr 16 13:13:56 2011 +0200
nv50,nvc0: fix normalized RG16 and RGBA32 texture format entries
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a582b859f73c06e4fc7d4b17d8aaab9060fb9498
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sun Apr 17 00:14:31 2011 +0200
nvc0: fix viewport rectangle calculation
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=97535699ee610a2f66732609f966102150847d3c
Author: Tom Stellard <tstellar at gmail.com>
Date: Mon Apr 4 22:07:55 2011 -0700
prog_optimize: Add simplify CMP optimization pass
This pass coverts CMP T0, T1 T2 T0 -> MOV T0, T2 when the CMP
instruction is the first instruction to write to register T0.
This pass is useful for hardware that requires a lot of lowering passes
that generate many CMP instructions.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=257cc48de2f4e472eb651a4c70042e5cb6b9fe0e
Author: Tom Stellard <tstellar at gmail.com>
Date: Tue Apr 5 22:38:26 2011 -0700
prog_optimize: get_src_arg_mask() respect writemask for more opcodes
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fa81d6d05b12db825be31533d9a485625ae35e2
Author: Tom Stellard <tstellar at gmail.com>
Date: Sat Apr 16 12:39:09 2011 -0700
r300/compiler: Fix incorrect presubtract conversion
ADD instructions with constant swizzles can't be converted to
presubtract operations.
NOTE: This is a candidate for the 7.9 and 7.10 branches.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5a5893adc395158e1dc77dacd417f4eb2696237
Author: Carl-Philip Haensch <Carl-Philip.Haensch at mailbox.tu-dresden.de>
Date: Sat Apr 16 08:13:47 2011 -0600
mesa: provide more info for glCompressedTexImage() errors
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af0e2ef8cc5c823e3c950233a09b8de87933a363
Author: Brian Paul <brianp at vmware.com>
Date: Sat Apr 16 08:03:47 2011 -0600
mesa: move error check code in compressedteximage()
This was mistakenly inside the #if FEATURE_ES block.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77db34b50d8d358bdccdcc99a61ca2b40532baab
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Sat Apr 16 11:14:25 2011 +0100
docs: Reapply some of Marek's typo fixes.
There were some typos too.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb78f6ad786ec898d1597cf706fe8fc52d3d300a
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Sat Apr 16 10:18:20 2011 +0100
gallium/docs: Improve min_index/max_index description.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ee40c37a0c773954967ade311627f0e46ef1bed
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Sat Apr 16 09:22:34 2011 +0100
docs: Undo Marek typo fixes to original text.
Not really typos.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41b38bd21c1031e65799c888a97d8a0c14ea2aaa
Author: Brian Paul <brianp at vmware.com>
Date: Fri Apr 15 10:16:53 2011 -0600
translate: s/varient/variant/
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0630593c5fb22fe0f98f2c815c4a315056a9e3d2
Author: Brian Paul <brianp at vmware.com>
Date: Fri Apr 15 08:32:56 2011 -0600
vbo: init prim[] array with memset()
This fixes a Coverity warning about uninitialized data.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b800c10e4aa3a9792e221043c54bbc930b50829
Author: Brian Paul <brianp at vmware.com>
Date: Fri Apr 15 08:31:10 2011 -0600
vega: move ureg_destroy(ureg) after last use of ureg var
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c57caa8939a2d077912eeec287927da77c97ef7
Author: Brian Paul <brianp at vmware.com>
Date: Fri Apr 15 08:32:12 2011 -0600
st/mesa: simplify a bit of the previous patch
Grrr, this was supposed to go in the previous commit.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e9c7c4c11167c81d476e0366875f5115bbae69c
Author: Pierre-Eric Pelloux-Prayer <pelloux at gmail.com>
Date: Thu Apr 14 18:17:28 2011 +0200
st/mesa: add handling for 'PIPE_FORMAT_B8G8R8X8_UNORM' in st_fast_readpixels
With minor edits by Brian Paul.
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2afae33f896ece1af0c8953ac9ce141c39f6dd2
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Apr 14 18:48:34 2011 +0200
Revert "r300/compiler: Don't try to convert RGB to Alpha in full instructions"
This reverts commit cd2857fae16e1352f39b37f611797e66619d3fe5.
It breaks Unigine Heaven.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93059225633d3e2c69087afb643f4b271545fd71
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Apr 14 17:27:03 2011 +0200
docs: update relnotes-7.11
I made a glxinfo diff between 7.10 and master and added missing items
and also sorted the list.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=397e47868378c386c483fda94631597af6d58405
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Apr 13 23:48:15 2011 +0200
docs: update GL3 status
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=75fa5c99a86c1ae0f8a4fecc016a5f82da9ae80a
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Apr 11 06:23:00 2011 +0200
gallium: add and use generic function for querying patented format support (v2)
v2: Unsigned floats are allowed regardless of the configure switch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=848f7d368d97f02eeb0c6546548784d639e3c3bf
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 1 01:12:41 2011 +0200
configure.ac: add an enable switch for float textures (v2)
So --enable-texture-float it is.
Hardware drivers (including the Gallium ones) should
use #ifdef TEXTURE_FLOAT_ENABLED to hide any code that may
expose floating-point renderbuffers via any interface,
public or private.
v2: Print a warning when using --enable-texture-float.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d12dbb28d80fb24289fee17a1b4f97708ab2d3e
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 1 01:12:41 2011 +0200
docs: add patents.txt
Thanks to José Fonseca for writing this.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=faba01d171a85399332e2ece8f66ba40495eda90
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Mar 29 16:35:13 2011 +0200
r300g: enable A/L/LA/I float render targets
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e28d842d192e69ba8cae4f9754766a26ae8c739
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Feb 16 00:40:37 2011 +0100
st/mesa: convert Mesa float formats to Gallium
Squashed commit of the following:
Author: Marek Olšák <maraeo at gmail.com>
st/mesa: require RGBA16F and RGBA32F to be renderable
st/mesa: fix L32F and L16F format translation
st/mesa: also convert the R/RG float formats
commit 49a9948b6a81b7d813304d081139d98e95ba5d1a
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Fri Aug 20 10:36:17 2010 +0200
mesa/st: enable ARB_texture_float if supported formats allow it
commit 7383632f7b6f9021b65f4973b7e7c99f0e8ce9b2
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Tue Aug 24 21:00:46 2010 +0200
mesa/st: support ARB_texture_float internal formats
commit 7c362cc06982586c2d29fac55f6bcc4bcd1550b5
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Tue Aug 24 21:00:33 2010 +0200
mesa/st: convert L/A/I floating point formats
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=33128310b0ae67cb77f9854b206bc03dd24755ea
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Wed Feb 16 00:40:37 2011 +0100
gallium: add A/L/LA/I floating point formats
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=15f99d13626b42f517467fd884a379cc7475e5d1
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Feb 16 00:35:44 2011 +0100
mesa: finish up ARB_texture_float
Squashed commit of the following:
Author: Marek Olšák <maraeo at gmail.com>
mesa: handle floating-point formats in _mesa_base_fbo_format
mesa: add ARB/ATI_texture_float, remove MESAX_texture_float
commit 123bb110852739dffadcc81ad80b005b1c4f586d
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Wed Aug 25 01:35:42 2010 +0200
mesa: compute floatMode for FBOs and return it on RGBA_FLOAT_MODE
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ecbb0ab7472fe5cb33be13a8307e16f875254e5
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Feb 16 00:35:44 2011 +0100
mesa: add R/RG floating-point formats
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19648fcf015e512283e93ab9de4a3e969d577e59
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Feb 16 00:35:44 2011 +0100
mesa: fix L16F and L32F format properties
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d78f83cde0286ef352fefa1b018563c11642ff1
Author: Carl Worth <cworth at cworth.org>
Date: Thu Apr 14 16:18:35 2011 -0700
Add expected file for 095-recursive-define test case.
It's clear enough that the current segmentation fault isn't what we
want. And it's also very easy to know what we do want here, (just
check with any functional C preprocessor such as "gcc -E").
Add the desired output as an expected file so that the test suite
gives useful output, (showing the omitted output and the segfault),
rather than just reporting "No such file" for the expected file.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02d293c08ee2375fc43b343bfc9b074f33a9063c
Author: Carl Worth <cworth at cworth.org>
Date: Thu Apr 14 15:35:41 2011 -0700
glcpp: Simplify calling convention of parser's active_list functions
These were all written as generic list functions, (accepting and returning
a list to act upon). But they were only ever used with parser->active as
the list. By simply accepting the parser itself, these functions can update
parser->active and now return nothing at all. This makes the code a bit
more compact.
And hopefully the code is no less readable since the functions are also
now renamed to have "_parser_active" in the name for better correlation
with nearby tests of the parser->active field.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b80f2d4c9fd672d75d647104bf0b0fdafec9dda
Author: Carl Worth <cworth at cworth.org>
Date: Thu Apr 14 14:55:52 2011 -0700
glcpp: Add --valgrind option to the glcpp-test utility
The common case for this test suite is to quickly test that everything
returns the correct results. In this case, the second run of the test
suite under valgrind was just annoying, (and the user would often
interrupt it).
Now, do what is wanted in the common case by default (just run the
test suite), and require a run with "glcpp-test --valgrind" in order
to test with valgrind.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6affa4806a74c0f81fefa0be0212ec8574a74f4d
Author: Carl Worth <cworth at cworth.org>
Date: Thu Apr 14 14:38:56 2011 -0700
Add an expected file for 084-unbalanced-parentheses
The expected file here captures the current behavior of glcpp (which
is to generate an obscure "syntax error, unexpected $end" diagnostic
for this case).
It would certainly be better for glcpp to generate a nicer diagnostic,
(such as "missing closing parenthesis in function-like macro
definition" or so), but the current behavior is at least correct, and
expected. So we can make the test suite more useful by marking the
current behavior as expected.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3c6ed382d8e02cd9f9e2cc77208b800abe17d54
Author: Carl Worth <cworth at cworth.org>
Date: Thu Apr 14 14:35:11 2011 -0700
Add an expected file for 094-divide-by-zero-short-circuit
The expected file here captures the current behavior of glcpp (which
is to generate a division-by-zero error) for this case.
It's easy to argue that it should be short-circuiting the evaluation
and not generating the diagnostic (which happens to be what gcc does).
But it doesn't seem like we should force this behavior on our
pre-processor, (and, as always, the GLSL specification of the
pre-processor is too vague on this point).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea3b2560b1dd0585fcf82a5d3179826374ae03b2
Author: Carl Worth <cworth at cworth.org>
Date: Thu Apr 14 14:29:34 2011 -0700
Add an expected file for 093-divide-by-zero
This test is behaving just fine already---it's generating an informative
diagnostic, ("error: division by 0 in preprocessor directive"), so adding
this in the expected file makes things pass.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6881cfc7f7b425f52ae631936cc53d409f208fa1
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Apr 14 15:22:49 2011 +0100
mesa/st: Avoid spurious transfers when creating fbo textures without image data.
We could actually try to do an early return both for gallium textures and
malloc memory textures, but I'm not sure exactly which situations
stImage->pt is NULL, and whether texImage->Data == NULL would be acceptible
or not.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78e90bf2474b89dcc7cc199ddb360745e93720c6
Author: pepp <pelloux at gmail.com>
Date: Wed Apr 13 13:03:31 2011 +0200
st/mesa: add support for GL_RGBA + GL_UNSIGNED_INT_8_8_8_8 in st_fast_readpixels
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9a02c8a39620515ec9fd0d774ce329cf67ecb4e
Author: Eric Anholt <eric at anholt.net>
Date: Wed Apr 13 12:02:54 2011 -0700
mesa: Expose ATI_draw_buffers.
This is the same as ARB_draw_buffers (which derived from it), except
for s/ARB/ATI/. The glapi bits were already in place, and what was
missing was just the ARB_fp part. The new Humble Bundle game "trine"
tries to use this extension without checking that it's exposed, which
this works around.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36182
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb6e39737a24f9652b6cdc10067736b8915c61f9
Author: Eric Anholt <eric at anholt.net>
Date: Wed Apr 13 12:07:31 2011 -0700
mesa: Add support for OPTION ATI_draw_buffers to ARB_fp.
Tested by piglit ati_draw_buffers-arbfp.
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=28cec9e832b716b84c11ddabfcee74e0daf6ec49
Author: Eric Anholt <eric at anholt.net>
Date: Wed Apr 13 11:09:55 2011 -0700
mesa: Add support for the ARB_fragment_program part of ARB_draw_buffers.
Fixes fbo-drawbuffers-arbfp.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34321
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4847f802c28e595130bda14055cd52c9b1f51cd7
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 9 08:29:59 2011 -1000
i965/fs: Constant-fold immediates in src0 of SEL instructions.
This is like what we do for add/mul, but we have to invert the
predicate to choose the other source instead.
This removes 5 extra moves of constants in nexuiz shaders. No
statistically significant performance difference on my Sandybridge
laptop (n=5).
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=811c147220d2630b769e505ce4d40ef9108fe034
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 9 08:22:42 2011 -1000
i965/fs: Constant-fold immediates in src0 of CMP instructions.
This is like what we do with add/mul, but we also have to flip the
conditional test.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=756c262756b2434efeb2c2a33a180fda0757a6e5
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 9 14:57:17 2011 -1000
glsl: Perform type checking on "^^" operands.
We were letting any old operand through, which generally resulted in
assertion failures later.
Fixes array-logical-xor.vert.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chad Versace <chad.versace at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=175829f1a8ab0df7594131cc569462e45c1974ec
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 9 12:54:34 2011 -1000
glsl: When we've emitted a semantic error for ==, return a bool constant.
This prevents later errors (including an assertion failure) from
cascading the failure.
Fixes invalid-equality-04.vert.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33303
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chad Versace <chad.versace at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e04b190b5f59c5b375645f5756a6edd98a7f90c
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 9 10:27:02 2011 -1000
glsl: Semantically check the RHS of `||' even when short-circuiting.
We just do the AST-to-HIR processing, and only push the instructions
if needed in the constant false case.
Fixes glslparsertest/glsl2/logic-02.frag
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chad Versace <chad.versace at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ec0c9789669ac88fcdd66c562e6d58281b477ce
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 9 10:27:02 2011 -1000
glsl: Semantically check the RHS of `&&' even when short-circuiting.
We just do the AST-to-HIR processing, and only push the instructions
if needed in the constant true case.
Fixes glslparsertest/glsl2/logic-01.frag
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chad Versace <chad.versace at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=01822706ec2c2501a2cd2431a90c56b334b79a5c
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 9 15:59:20 2011 -1000
glsl: Avoid cascading errors when looking for a scalar boolean and failing.
By always using a boolean, we should generally avoid further
complaints. The failure case I see is logic_not, where the user might
understandably make the mistake of using `!' on a boolean vector (like
a piglit case did recently!), and then get a further complaint that
the new boolean type doesn't match the bvec it gets assigned to.
Fixes invalid-logic-not-06.vert (assertion failure when the bad type
ends up in an expression and ir_constant_expression gets angry).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33314
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a35cbb656e0f8a2479a63eadefb1ab85f42d490
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 2 20:19:20 2011 -0700
glsl/opt_cpe: Reenable opt_copy_propagation_elements.cpp pass.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=909bd476ca65035b93399c7b95f7118b1cded3f2
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 8 07:54:50 2011 -1000
glsl/opt_cpe: Fix a crash when a kill kills for two reasons.
Fixes glsl-copy-propagation-loop-2 when this optimization pass is
re-enabled.
Reported-by: David Lamparter <equinox at diac24.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=487debfda56ad3855db655688186401b0dd75233
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 2 20:17:17 2011 -0700
glsl/opt_cpe: Kill when the assignment isn't something we recognize.
A few GLES2 tests tripped over this when using array dereferences to
hit channels on the LHS (see piglit test
glsl-copy-propagation-vector-indexing). We wouldn't find the
ir_dereference_variable, and assume that that meant that it wasn't an
assignment to a scalar/vector, and thus not notice that the variable
had been changed.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9c8b2a1f1b2fe2e02b314790ebdc465f0ffec6e
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 13 09:50:48 2011 -0600
svga: defined QSZ in terms of SVGA3D_MAX_DRAW_PRIMITIVE_RANGES
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=32aab51df5522b99ec735baa673aef553c8d8a0f
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 13 09:52:16 2011 -0600
svga: define SVGA3D_MAX_DRAW_PRIMITIVE_RANGES and update comments
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4cbb261ebaeeb16b885364810fd17d02a96a3d1b
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 13 07:37:03 2011 -0600
st/mesa: minor clean-ups in update_textures()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=032a7ef0a1cb753defc11e97b11ea2e602bae5f2
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 13 07:35:25 2011 -0600
mesa: 80-column wrapping and whitespace fixes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=75d585e5447fb90a27e9ddb6c60f3560db1512f4
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 13 07:35:25 2011 -0600
mesa: fix some comments in sampler object code
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3cc3901ab67823af3aba08efc863daa22ed1408
Author: Chad Versace <chad.versace at intel.com>
Date: Thu Apr 7 09:09:38 2011 -0700
i965: Change assertion condition from implicit to explicit
... because grokking explicit assertions requires fewer neurons.
In brw_misc_state.c:emit_depthbuffer, change assertion condition
tiling != I915_TILING_X && tiling != I915_TILING_NONE
to
tiling == I915_TILING_Y
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Chad Versace <chad.versace at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d7c1871671710865be3020e0d460e0463707f14
Author: Chad Versace <chad.versace at intel.com>
Date: Sun Mar 27 08:44:50 2011 -0700
i965: Define BRW_DEPTHFORMAT_D24_UNORM_X8_UINT
This depth format was added in Gen5.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Chad Versace <chad.versace at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05173c61c7cb987d08681f182ac78a1a179e02a4
Author: Chad Versace <chad.versace at intel.com>
Date: Thu Apr 7 16:32:23 2011 -0700
i965: Document brw_context.state.depth_region
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Chad Versace <chad.versace at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9949d2a2511564226e0d68d303a53cf7d80f0c2b
Author: Chad Versace <chad.versace at intel.com>
Date: Thu Apr 7 15:44:24 2011 -0700
i965: Remove unnecessary release/reference of brw_context.state.depth_region
Release the old depth region and reference the new one *only* if it has
changed.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Chad Versace <chad.versace at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f7318c1b8d2ad4f4aef66362cdb7b9e8dc89eac
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 12 15:21:21 2011 -0700
i965: Add comments about URB size units and limits.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Acked-by: Chris Wilson <chris at chris-wilson.co.uk>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=35b3f597bd1729da4483857cc0e88e81fb2a2419
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Apr 11 11:00:03 2011 -0700
i965: Never enable the GS on Gen6.
Prior to Gen6, we use the GS for breaking down quads, quad-strips,
and line loops. On Gen6, earlier stages already take care of this,
so we never need the GS.
Since this code is likely completely untested, remove it for now.
We can write new code when enabling real geometry shaders.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f703ba8c42e924ee6d5e4308c3888e434d8ba98c
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Apr 12 19:13:22 2011 +0100
Revert "i965: Reinstate max-index paranoia"
This reverts commit b4cbd2b312d53a50603e2cda925711bc9def4517.
It looked like a safe sanity check. It missed the issue of the start of
the buffer not being at 0, but even that was not enough to explain why
setting the max vertex index caused glyphs to be dropped from the game
'Achron'.
Instead, the issue appears to be related to the use of the vertex bias
and so we would need to re-emit the max-index every time we adjusted the
bias, so re-emitting the relocations and defeating the original
optimisation.
Reported-and-tested-by: Thomas Jones <thomas.jones at utoronto.ca>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35163
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f05751aa2af1a8ec83c2d110385aab1b7e735238
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date: Wed Mar 16 13:49:38 2011 +0100
egl/wayland: Update to per-surface frame events
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b27f206b0cc9bf31bff6dd1abe66c4f21f3de21e
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Apr 12 21:20:48 2011 +1000
nouveau_vieux: fix build since sampler objects merge
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=16d42af618aa6250bedc7e66e0e2c0b061cc6e99
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Apr 7 19:15:55 2011 +0100
st/wgl: Prevent spurious framebuffer sizes when the window is minimized.
When the window is minimized GetClientRect will return zeros.
Instead of creating a 1x1 framebuffer, simply preserve the current window
size, until the window is restored or maximized again.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5829c0d6444a9eb25738c9b7f0bab8b667c8e0a
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Apr 7 18:20:38 2011 +0100
st/wgl: Fix debug output format specifiers of stw_framebuffer_get_size().
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b95cfb0de1bcd680679a20d6ecc32b42e5d1546
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Apr 7 16:54:37 2011 +0100
svga: Rebind framebuffer and tss bindings strictly when necessary.
The earlier change to ensure rendertargets and textures are always
rebound at every command buffer start had the downside of making
successive flushes no longer no-ops, as a command buffer with merely
the rebinding commands were being unnecessarily sent to the vGPU.
This change only re-emits the bindings when necessary, by keeping track
of the need to rebind outside of the dirty state update mechanism.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e338a1b0cea94f8c57968b01eebd795c6c8ce74e
Author: Hans de Goede <hdegoede at redhat.com>
Date: Sun Apr 10 22:21:03 2011 +0200
texstore: fix regression stricter check for memcpy path for unorm88 and unorm1616
According to https://bugs.freedesktop.org/show_bug.cgi?id=34280
commit 5d1387b2da3626326410804026f8b92f1a121fdc causes the font corruption
problems people have been seeing under various apps and gnome-shell on r200
cards.
This commit changed (loosened) the check for using the memcpy path in the
former al88 / al1616 texstore functions, which are now also used to
store rg texures. This patch restores the old strict check in case of
al textures. I've no idea why this fixes things, since I don't know the
code in question at all. But after seeing the bisect in bfdo34280 point
to this commit, I gave this fix a try and it fixes the font issues seen on
r200 cards.
[airlied:
r200 has no native working A8, so it does an internal storage format of AL88
however srcFormat == internalFormat == ALPHA when we get to this point,
so it copies, but it wants to store into an AL88 not ALPHA so fails,
I'll also push a piglit test for this on r200].
Many thanks to Nicolas Kaiser who did all the hard work of tracking this down!
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=847f991a87b9549eb89a521edb7cd149005006bb
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 11 21:29:06 2011 -0600
ir_to_mesa: silence signed/unsigned comparison warnings
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=482a64dcf1be1331a9459fdc81dd846f698be7d5
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 11 21:23:14 2011 -0600
configs: add r600 dir to DRI_DIRS
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=155a9670e62ef063ca9903b229ccdc3325d52bd2
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 11 21:22:54 2011 -0600
r600: silence various compiler warnings
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ca55854591d647a485364c2db67899e7f9aaae1
Merge: 2432ca1c2e205100d48070305ba2d5f8978bce03 65b024d63a44464ecf752bec417281109f4bd81e
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 11 21:19:41 2011 -0600
Merge branch 'arb_sampler_objects'
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2432ca1c2e205100d48070305ba2d5f8978bce03
Author: Zou Nan hai <nanhai.zou at intel.com>
Date: Tue Apr 12 10:52:50 2011 +0800
Revert "i965: clear global offset to zero in m0.2 for VS DP read."
This reverts commit 66b66295d0bc856c69fdcccc22575580c7ecee16.
it was already fixed by commit 9d60a7ce08a67eb8b79c60f829d090ba4a37ed7e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7fa203f0d645bdb06b3cb345ab1a0ccf4e62fe3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 8 18:06:35 2011 -0700
i965: Remove hint_gs_always and resulting dead code
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e809f0b8d635c8d5519b3d0fdaf11ac0ddda7eb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 8 16:31:22 2011 -0700
intel: Fix ROUND_DOWN_TO macro
Previously the macro would (ALIGN(value - alignment - 1, alignment)).
At the very least, this was missing parenthesis around "alignment -
1". As a result, if value was already aligned, it would be reduced by
alignment. Condisder:
x = ROUND_DOWN_TO(256, 128);
This becomes:
x = ALIGN(256 - 128 - 1, 128);
Or:
x = ALIGN(127, 128);
Which becomes:
x = 128;
This macro is currently only used in brw_state_batch
(brw_state_batch.c). It looks like the original version of this macro
would just use too much space in the batch buffer. It's possible, but
not at all clear to me from the code, that the original behavior is
actually desired.
In any case, this patch does not cause any piglit regressions on my
Ironlake system.
I also think that ALIGN_FLOOR would be a better name for this macro,
but ROUND_DOWN_TO matches rounddown in the Linux kernel.
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Keith Whitwell <keithw at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03eade164d45cc35422dfc03aeaf579c9c3183f9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 8 12:43:53 2011 -0700
glsl: Make GL_ARB_shader_stencil_export enable block be similar to other blocks
Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2bda1b5664cd8a8744798926f2562212229d938
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Apr 8 12:41:42 2011 -0700
glsl: Only let a shader enable GL_ARB_draw_instanced if the driver supports it
Also make the GL_ARB_draw_instanced block follow the same pattern as
the other blocks.
Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=65b024d63a44464ecf752bec417281109f4bd81e
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 11 13:26:42 2011 -0600
mesa: fixup r600 DRI driver for sampler object changes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=88022278f71ed3ea9613a7fa72a03367f75443d3
Author: Eric Anholt <eric at anholt.net>
Date: Wed Mar 9 13:18:30 2011 -0800
i965: Move the SF VP from state caching to state streaming.
This is a 49.6% +/- 2.0% (n=9, IPS outlier removed) performance
improvement for the hacked-up-for-cache-misses scissor-many, and no
statistically significant performance difference for the
hacked-up-for-cache-hits version (n=9, IPS outlier removed). No
statistically significant performance difference from ETQW (n=5) from
these last two commits.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1be5bd205d3efcaf4012d2c9a12831da57fc7fb
Author: Eric Anholt <eric at anholt.net>
Date: Wed Mar 9 11:11:04 2011 -0800
i965: Change the SF unit from state caching to state streaming.
This is a 28.1% +/- 1.4% (n=10) performance improvement for the
hacked-up-for-cache-misses scissor-many (n=10), and no statistically
significant wall-time performance difference for the
hacked-up-for-cache-hits version (n=9, first outlier in each removed
since IPS was warming up. User time increased by about 4.7%, but
kernel time decreased equivalently).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aaf188e3bbe29826f0fea8944243a416946e7343
Author: Eric Anholt <eric at anholt.net>
Date: Wed Mar 9 10:51:52 2011 -0800
i965: Turn SF unit and viewport structs into pointers to prep for streaming.
I wanted to separate this mechanical change from the actual work.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=45920d2ecb38b14fdda5253fecce996570c22863
Author: pepp <pelloux at gmail.com>
Date: Mon Apr 11 17:16:45 2011 +0200
u_vbuf_mgr: fixed vbo max_index calculation
Signed-off-by: Marek Olšák <maraeo at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c477ab2de9fb2ad3b0e4ae53f5930f1288cb90e
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Apr 11 14:37:58 2011 +0200
r600g: handle PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL in get_param
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da8d0c965cc71058b570b7e34ba9c03639173da7
Author: Brian Paul <brianp at vmware.com>
Date: Sun Apr 10 13:06:27 2011 -0600
docs: GL_ARB_sampler_objects updates
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=34a5d3b9f4740601708c82093e2114356d749e65
Author: Brian Paul <brianp at vmware.com>
Date: Sun Apr 10 12:48:28 2011 -0600
mesa: plug in new functions for GL_ARB_sampler_objects
Build the new sources, plug the new functions into the dispatch table,
implement display list support. And enable extension in the gallium
state tracker.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f22d49de0f02653bb54aeb6a5f07a56e2cc63f1d
Author: Brian Paul <brianp at vmware.com>
Date: Sun Apr 10 12:47:47 2011 -0600
mesa: new code/functions for GL_ARB_sampler_objects
This implements the infrastructure for sampler objects and all the new
API functions.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bb4d807f7e80eaf899fd5c34c2c9ff0474eb80e
Author: Brian Paul <brianp at vmware.com>
Date: Sun Apr 10 12:47:00 2011 -0600
mesa: alloc/free shared sampler objects
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0308beebc2ac27a51ea5ec7d6d0d748f8e9f8b4d
Author: Brian Paul <brianp at vmware.com>
Date: Sun Apr 10 12:46:32 2011 -0600
mesa: new driver hooks for GL_ARB_sampler_objects
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aebe16da539cbfaffa08243cecef44e69356fe36
Author: Brian Paul <brianp at vmware.com>
Date: Sun Apr 10 12:46:15 2011 -0600
mesa: add glGet for GL_ARB_sampler_objects
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecfaab88b2577bd0395bc05d75a036126806a9c4
Author: Brian Paul <brianp at vmware.com>
Date: Sun Apr 10 12:44:46 2011 -0600
mesa: move sampler state into new gl_sampler_object type
gl_texture_object contains an instance of this type for the regular
texture object sampling state. glGenSamplers() generates new instances
of gl_sampler_object which can override that state with glBindSampler().
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1cbd3a1cc734df16610a59dc49cdb42c70dc3270
Author: Brian Paul <brianp at vmware.com>
Date: Sun Apr 10 12:42:24 2011 -0600
glapi: regenerated files for GL_ARB_sampler_objects
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d40ec9a884757b065410ecfa8dadff2079b27afc
Author: Brian Paul <brianp at vmware.com>
Date: Sun Apr 10 12:41:39 2011 -0600
glapi: interface for GL_ARB_sampler_objects
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a26121f37530619610a78a5fbe5ef87e44047fda
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Thu Apr 7 23:48:28 2011 +0200
glx: Only remove the glx_display from the list after it's destroyed.
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a75de67c51e9124a7c3846b4110552ea28c60349
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Thu Apr 7 23:48:28 2011 +0200
glx: Destroy dri2Hash on DRI2 display destruction.
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=158d42c8b08411d761fa40299f3f29027ad3905f
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Thu Apr 7 23:48:28 2011 +0200
mesa: Also update the color draw buffer if it's explicitly set to GL_NONE.
NOTE: This is a candidate for the 7.10 branch.
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=82cb6e6519376ea21a9ec4694c6657a1f98c034f
Author: Nicolas Kaiser <nikai at nikai.net>
Date: Sun Apr 10 05:04:44 2011 -0700
docs: fix typos in wayland spec
Signed-off-by: Nicolas Kaiser <nikai at nikai.net>
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae5776c41f12515bb73c07ee2a0aed56cdd1a1ef
Author: Nicolas Kaiser <nikai at nikai.net>
Date: Sun Apr 10 09:58:50 2011 -0600
docs: fix typos in Mesa specs
Signed-off-by: Nicolas Kaiser <nikai at nikai.net>
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=74559abbef5e5bcd3dbe1b8bbb8a39391a8a8671
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sun Apr 10 13:59:26 2011 +0200
nv50,nvc0: silence shader debug output
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=003224bd970e9cb63b0d3d12e1a8f2f3b3a736e6
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sun Apr 10 13:57:34 2011 +0200
nvc0: make the card permit separate colour outputs
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b4e478496cf45f527f72c39d72efe2e94fe2386
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sat Apr 9 18:25:29 2011 +0200
nv50-nvc0: make use of COLOR_MASK,BLEND_ENABLE_COMMON
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9ef97696770c8a6b04e4adf9a813614f9b3c741
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Fri Apr 8 15:32:18 2011 +0200
nvc0: shrink CSOs a little
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=843d5391c3b7b80ff2087ce7e6440417aab623cc
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Thu Mar 31 19:04:17 2011 +0200
nv50,nvc0: identify some line rasterization state
Fixes width of non-smooth (aliased) lines on nvc0.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d546df4d9c090656c506e8a959646a48ed00efc2
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Sun Apr 10 13:55:01 2011 +0200
nvc0: force perspective correction hint to nicest
Fixes issues in e.g. nexuiz (desertfactory) or supertuxkart that
look like lighting bugs.
They're not visible with the software rasterizers because their
notion of linear interpolation seems to be different from that
of nv50/nvc0.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee2a8ea7d9004c052916db79eac644ef51a9ccaa
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Fri Apr 8 15:51:48 2011 +0200
nv50,nvc0: don't insert instructions after the block terminator
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d27ff8c5cd22ac0279948d3df4b3384eef866cde
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Apr 8 16:48:12 2011 -0700
Make st_pipe_vertex_format return type in st_draw.h match st_draw.c
Fixes compiler error from Sun compilers:
"state_tracker/st_draw.c", line 185: identifier redeclared: st_pipe_vertex_format
current : function(unsigned int, unsigned int, unsigned int, unsigned char) returning enum pipe_format
previous: function(unsigned int, unsigned int, unsigned int, unsigned char) returning unsigned int : "state_tracker/st_draw.h", line 73
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64ce3933f59f71ac78d83b8b3db813b6d2619382
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Apr 8 13:03:16 2011 -0700
Fix GET_PROGRAM_NAME() on Solaris to not try to modify a read-only string
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee678895e903f3ecbbd95b4584dbfbb127f9d4f0
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 8 23:19:53 2011 +0200
Revert "r300g: handle DISCARD_WHOLE_RESOURCE for buffers"
This reverts commit 437c748bf5072d2bded77a00c74c51cdb8b510e5.
The commit is wrong for several reasons. One of them is when we grab
a new buffer, we should update all the states it is bound in,
including all parallel contexts. I don't think this is even doable.
The correct solution would be upload data via a temporary buffer and
do resource_copy_region to the original one.
https://bugs.freedesktop.org/show_bug.cgi?id=36088
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=69c71396c6e947cbdf878bacb655d472a11c7708
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 8 23:16:17 2011 +0200
r300g: fix another crash with hyperz
https://bugs.freedesktop.org/show_bug.cgi?id=36086
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6e33ca285f9eba26cae2fdd74fb5cc694f1e74b
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Mon Mar 14 22:08:23 2011 +0000
Disable direct rendering on Cygwin
Add Cygwin platform-specific settings and drivers to build for dri driver:
- by default, disable direct rendering.
- if direct rendering is enabled, the swrast dridriver is the only one it's
sensible to try to build (this doesn't work at the moment as additional patches
are required to build a libGL which can load just swrast without the DRM headers,
even though there's no actual functional dependency)
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Reviewed-by: Julien Cristau <jcristau at debian.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7d18ed1ef8106e2f0eec1078efde6da358e692b
Author: nobled <nobled at dreamwidth.org>
Date: Mon Mar 14 22:08:22 2011 +0000
Disable direct rendering on GNU/Hurd
The Hurd kernel doesn't have DRM yet.
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Reviewed-by: Julien Cristau <jcristau at debian.org>
Reviewed-By: Jakob Bornecrantz <wallbraker at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=758561786c3a34303e6c85dfdb996b94a4eed678
Author: Samuel Thibault <samuel.thibault at ens-lyon.org>
Date: Mon Mar 14 22:08:21 2011 +0000
Only require libdrm if direct rendering is actually enabled.
Fix build when configured --with-driver=dri --disable-driglx-direct on targets
without drm e.g. GNU/Hurd and Cygwin
Based on the Debian patch file '05_hurd-ftbfs.diff' by Samuel Thibault.
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Reviewed-by: Julien Cristau <jcristau at debian.org>
Reviewed-By: Jakob Bornecrantz <wallbraker at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aac4bae98651c928ce298aecf158b0aa1a7fabce
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 8 20:42:03 2011 +0200
r300g: fix crash when adding a new relocation
No idea why it's so hard to reproduce.
Broken with: c35572352e3e92683988ee8d151b47f4190d62f9
Thanks to Toni Spets for assistance.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff3d7ce201e6b415eb1254d784f0f425592d556b
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 8 20:05:33 2011 +0200
r300g: emit US_FORMAT on R520 only
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=963431829055f63ec94d88c97a5d07d30e49833a
Author: Eric Anholt <eric at anholt.net>
Date: Sat Apr 2 18:11:32 2011 -1000
i965/fs: Remove broken optimization for live intervals in loops.
The theory here was to detect a temporary variable used within a loop,
and avoid considering it live across the entire loop. However, it was
overeager and failed when the first definition of the variable
appeared within the loop but was only conditionally defined.
Fixes glsl-fs-loop-redundant-condition.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0d154dc1385d92a31dca8e65e50d958bdf6d532
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 8 19:31:26 2011 +0200
u_vbuf_mgr: fix crash with unsupported vertex format in hw VBOs
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1329d9433496618ad02bb9a91eccecd9736fdf54
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 8 13:27:14 2011 +0200
r300g: fix crash with hyperz
r300_update_hyperz_state is no longer required to be called here.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bcdc1e319863ec531b7f03804332e6352e13780
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Mon Jan 17 22:03:30 2011 +0100
r300g: Properly take the sampler view's first_level into account when sampling.
Signed-off-by: Brian Paul <brianp at vmware.com>
Signed-off-by: Marek Olšák <maraeo at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=08070cead0bb79d4441d8c5b900d1571bb63c670
Author: Fabian Bieler <der.fabe at gmx.net>
Date: Thu Mar 31 12:32:52 2011 +0200
llvmpipe: Take the sampler view's first_level into account when sampling.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9acdd7739b729375444f8669fc2419d9eb57acc5
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Mon Jan 17 22:03:30 2011 +0100
softpipe: Take the sampler view's first_level into account when sampling.
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79db70bd8aa04e19a4e1b9ee98eb568d90bb6d62
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Mon Jan 17 22:03:30 2011 +0100
st/mesa: Clamp min_lod to the max miplevel as well.
Otherwise min_lod can potentially be larger than the clamped max_lod. The
code that follows will swap min_lod and max_lod in that case, resulting in a
max_lod larger than MAX_LEVEL.
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ecb73379e4d88873cbe1cafdd056f7f687ea743
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Mon Jan 17 22:03:30 2011 +0100
st/mesa: Set samplers views' first_level.
Base level and min LOD aren't equivalent. In particular, min LOD has no
effect on image array selection for magnification and non-mipmapped
minification.
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7984c2d42de50d1a44ab9832c8370ff1dee1c0e7
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 8 04:37:19 2011 +0200
r300g: do not advertise R16F and RG16F on DRM < 2.8.0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=10ea8567f49f4daaa654b6e4c365a816f855073b
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Apr 8 03:11:22 2011 +0200
r300g: fix texturing with sizes > 2048 on r500
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d5de0fcb6ced7a4da85a09ad25dcbc2b21bfdf9
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Apr 7 23:36:18 2011 +0200
r300g: add 'radeon: ' prefix to error messages in winsys
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6eff8479af1a137d81d7bffc0c55a39910c28ce9
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Apr 6 01:23:51 2011 +0200
mesa: fix dstRowDiff computation in RGTC texstore functions
Copied from libtxc_dxtn, this fixes NPOT RGTC1 textures with r300g.
I also did the same for RGTC2.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=55a629cee5c20b357cca5c767a14fb27d9691e16
Author: Kristian Høgsberg <krh at bitplanet.net>
Date: Thu Apr 7 18:27:06 2011 -0400
egl_dri2.c: Open drm device with O_CLOEXEC
Not a good fd to leak.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=09eff39a58885bb3b8507d02920b53b4e81a66ea
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Thu Apr 7 22:21:20 2011 +0200
r600g: Unreference framebuffer state on context destruction.
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e15fa86d7bb50ae1b97f8962d2f17bfe72d5263
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Thu Apr 7 22:21:20 2011 +0200
r600g: Use symbolic names for NUMBER_TYPE.
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0da2a22ba6cbe6a2175ac47ab4541b1cfa939d1f
Author: Brian Paul <brianp at vmware.com>
Date: Thu Apr 7 13:56:45 2011 -0600
docs: replace llvmpipe/README with docs/llvmpipe.html
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=06613b7b3a641b66400f09993a884daf7ab34509
Author: Brian Paul <brianp at vmware.com>
Date: Thu Apr 7 13:43:00 2011 -0600
llvmpipe: document issue with LLVM 2.8 and earlier with AVX
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef2c80f5064b2d1830cea5bbcacde850138d54c4
Author: Brian Paul <brianp at vmware.com>
Date: Thu Apr 7 13:41:52 2011 -0600
util: add cpu detection for sse 4.2 and avx
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e105741f1e0ae4946febb41c844ed5741a54ec1
Author: Brian Paul <brianp at vmware.com>
Date: Thu Apr 7 13:41:52 2011 -0600
util: simplify bit shifting in util_cpu_detect()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6638b4a590aa07dbe05f6647da90a00a4c0d57a8
Author: Brian Paul <brianp at vmware.com>
Date: Thu Apr 7 11:25:46 2011 -0600
svga: another tweak to adjust_x term (use -0.5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=584d1e23096ed103ae62c13685a435b220b482f2
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Apr 7 13:35:25 2011 +0100
mesa: Update _ElementSize in a few more places.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c501bacef3738b55986292abca149dcfe76d72d
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Apr 7 12:19:14 2011 +0100
mesa/st: Fix user buffer size computation when stride is zero.
Although for GL a zero stride means tightly packed elements, Mesa
internally uses zero strides for constant arrays.
Therefore user buffers need to be defined from
buffer_offset + src_offset + min_index*stride
to
buffer_offset + src_offset + max_index*stride + elem_size
Simplifying the later with (max_index + 1)*stride will give zero
sized buffers.
This change also aggregates the st_context's info about user buffers
into a single array.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=204991bf5d29caa3fa54df9e4f6898faa73752cf
Author: Brian Paul <brianp at vmware.com>
Date: Thu Apr 7 12:07:32 2011 +0100
mesa: Update _ElementSize.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=23d75936a72b9a9b9e1d04a901a86a75d93dbffb
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Apr 6 15:10:19 2011 +0100
mesa/st: Prevent 'end' < 'start' in vbo_exec_DrawRangeElementsBaseVertex()
We adjust 'end' to fit into _MaxElement, but that may result into a 'start'
value bigger than 'end' being passed downstream, causing havoc.
This could be seen with arb_robustness_draw-vbo-bounds, due to an
application bug.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa61b1535187129c61dd772471f23c633971665d
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Apr 6 14:38:26 2011 +0100
mesa/st: Handle feedback draw when VBO offsets are not sorted in ascending order.
Simply port the same logic from setup_interleaved_attribs().
Avoids overflow in mustpass.c and feedback.c conform tests.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66b66295d0bc856c69fdcccc22575580c7ecee16
Author: Zou Nan hai <nanhai.zou at intel.com>
Date: Thu Apr 7 21:07:57 2011 +0800
i965: clear global offset to zero in m0.2 for VS DP read.
Signed-off-by: Zou Nan hai <nanhai.zou at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8800a798d1f0cc3453d01ceaf2f4972d3ae75baa
Author: Vinson Lee <vlee at vmware.com>
Date: Wed Apr 6 16:13:15 2011 -0700
mesa: Fix allocation size of extension_indices array.
Reviewed-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95368f25c1793619e94d464fe94afcea0409ae26
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 6 14:22:39 2011 -0600
mesa: fix error message text
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b8830d81d816c22d5930bec1f0f178cf0d138c6
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 6 14:16:57 2011 -0600
mesa: consolidate code in _mesa_update_array_max_element()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de4cb19a1c3f166a2ffae3369aa95d3f81198b6b
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Apr 6 13:46:58 2011 -0700
mesa: Add link to 7.10.2 release notes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=130872a2a676bc89d4d936dba418748af08b3743
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Apr 6 13:41:43 2011 -0700
docs: update news.html with 7.10.2 release
(cherry picked from commit b0866f6cfdfcaf23686b1ae2a99627d468196db2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c8ba760fa7ecb875eafff8afc449c078afdbfc2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Apr 6 13:46:20 2011 -0700
Import 7.10.2 release notes from 7.10 branch
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f8455d07b129062885f58237516ae0d1aa339ea
Author: Julian Adams <joolsa at gmail.com>
Date: Wed Apr 6 21:04:08 2011 +0200
r600g: Fix non-independent blend state.
This fixes piglit fbo/fbo-drawbuffers-blend-add.
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=122275760dcc9dfa6b2e377cae657aeeb121556a
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 6 13:00:14 2011 -0600
mesa: init/release the default texture buffer object
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53245fffc022e5fc18c847e799f65c6b91e7378a
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 6 12:45:21 2011 -0600
mesa: fix popping of texture state for GL_TEXTURE_BUFFER
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36032
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1f4b2364f473910667ab97d6599619003639d39
Author: Brian Paul <brianp at vmware.com>
Date: Wed Apr 6 12:33:28 2011 -0600
mesa: TEXTURE_BUFFER fix-up
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=36033
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd2857fae16e1352f39b37f611797e66619d3fe5
Author: Tom Stellard <tstellar at gmail.com>
Date: Tue Apr 5 23:49:23 2011 -0700
r300/compiler: Don't try to convert RGB to Alpha in full instructions
Note: This is a candidate for the 7.10 branch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=740282b417caca6c1f223f488ee9a6f9bff81164
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Wed Apr 6 08:25:22 2011 +0100
mesa: Recognize MESA_VERBOSE=all as shortcut for all debug options.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcbc9be38ecea30506198d0db037cbf532f070e4
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Tue Apr 5 21:35:11 2011 +0100
draw: Fix thinko in debug warnings.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0f6bfd489091da20ad9580d8ac6aeb187ededfd
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Tue Apr 5 20:13:44 2011 +0100
trace: Correct/cleanup.
Observe the actual type hierarchy and polymorphism of sampler views and
surface state.
s/texture/resource/
etc.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=391f7147e73b752c6e088c4ae8fe11ddfd5fb537
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Mon Apr 4 11:48:07 2011 +0100
Revert "trace: Dump blend state as a binary blob."
This reverts commit dcdf94c87c087186f963b6e201b2989c61a76ef0.
No retrace support anymore, so human-legible representation of blend
state is much more useful than a blob.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=afeaf1771d0ccbd2482c5ad7fa237c50b4d3921e
Author: José Fonseca <jose.r.fonseca at gmail.com>
Date: Mon Apr 4 11:41:30 2011 +0100
st/python: Remove bindings, and all its dependencies.
Because:
- bindings are not fully automatic, and they are broken most of the time
- unit tests/samples can be written in C on top of graw
- tracing/retracing is more useful at API levels with stable ABIs such as
GL, producing traces that cover more layers of the driver stack and and
can be used for regression testing
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14b574433c7faedaa18f1c946159cb03630c7d9f
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 5 17:52:47 2011 -0600
swrast: simplify assertion to silence warning
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=874a2c0b7da62f4dd08dedcec221f55b22e40e95
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 5 19:02:07 2011 -0600
mesa: core support for GL_ARB_texture_buffer_object
No GLSL or driver support yet.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a77e285e8d015328278fcd0a110e662dba2e744
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 5 18:50:39 2011 -0600
mesa: regenerated API entrypoints for GL_ARB_texture_buffer_object
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13ba6b7369fc9689089c3a2607d9c65b50ef1126
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 5 18:48:26 2011 -0600
mesa: API spec for GL_ARB_texture_buffer_object
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=622ee08e516afc406b21df3d354037bab73a30a7
Author: Vinson Lee <vlee at vmware.com>
Date: Tue Apr 5 15:32:39 2011 -0700
scons: Generate empty git_sha1.h for all platforms.
Fixes MinGW SCons build.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4dfb7473efd378c51b955a856eaef69312c1f9f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 5 13:22:30 2011 -0700
ir_to_mesa: Use gl_register_file enum type rather than 'int'.
src_reg already used this; make dst_reg use it too.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce5d969adf4db6e95e7f1abb0a5532311d1c3c28
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 5 13:19:50 2011 -0700
ir_to_mesa: Unprefix ir_to_mesa_undef* and ir_to_mesa_address_reg.
Rename ir_to_mesa_undef to undef_src, for clarity.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d9718f0dbe1bb9b25324c43ed0fa631735c6a51
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 5 12:22:42 2011 -0700
ir_to_mesa: Use emit overloads to avoid passing undef registers.
Makes the code just a little bit cleaner.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=01e19fcf1f36cea40cc5efc48796d4e153a20f2f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 5 12:16:57 2011 -0700
ir_to_mesa: Rename ir_to_mesa_emit_*_opX methods to emit_*.
There's really no need for a prefix on member functions, and overloading
takes care of the _op1/_op2 distinction quite nicely. Eric already made
a similar change in the i965 FS backend.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb21fa91b8e8f46d7d27604b9cb77fba031567f4
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 5 12:01:59 2011 -0700
ir_to_mesa: Use constructors to convert between src_reg and dst_reg.
Rather than ir_to_mesa_dst_reg_from_src and ir_to_mesa_src_reg_from_dst.
The new constructors are marked 'explicit' so that the compiler can
catch cases where source and destination registers were accidentally
interchanged.
This also necessitated using constructors to initialize the undef and
address registers, as well as adding a default constructor.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc6b4332c32461d0e092c908a0f3d9d44d1452a9
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 5 11:43:21 2011 -0700
ir_to_mesa: Remove the "ir_to_mesa_" prefix on src_reg/dst_reg types.
Both classes are completely private to ir_to_mesa.cpp, so there won't be
any name conflicts with other parts of Mesa. The prefix simply makes it
harder to read.
Also, use a class rather than typedef structs.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=461273e9105b8d0d53c26854ac5ba68814c31a67
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Apr 5 11:30:36 2011 -0700
ir_to_mesa: Rename src_reg and dst_reg variables to src and dst.
This is in preparation from removing the "ir_to_mesa_" prefix on the
src_reg and dst_reg types, which would cause a naming conflict.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c2455031d7e5d969252ddb892b31365f6bb5da2
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 5 14:07:41 2011 -0600
scons: generate empty git_sha1.h file for now
My feeble attempt to invoke the extract_git_sha1 script from
SConscript didn't work. Hopefully this will do for now.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de579a16298e29358fec08bd7cfe3e505674705a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Mar 31 11:42:01 2011 -0700
mesa: Include GIT SHA1 in GL version string
Reviewed-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
Tested-by: Sedat Dilek <sedat.dilek at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fe34b7bbc9a8e089bbb4d0fe401b09095a571eb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Mar 1 14:10:49 2011 -0800
dri: Remove driver date from renderer string
Reviewed-by: Corbin Simpson <MostAwesomeDude at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Tested-by: Sedat Dilek <sedat.dilek at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9996a86085edb2bdbcb165d985203ee8ce6a9b22
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Apr 4 13:35:26 2011 -0700
ir_to_mesa: Handle shadow compare w/projection and LOD bias correctly
The code would previously handle the projection, then swizzle the
shadow comparitor into place. However, when the projection is done
"by hand," as in the TXB case, the unprojected shadow comparitor would
over-write the projected shadow comparitor.
Shadow comparison with projection and LOD is an extremely rare case in
real application code, so it shouldn't matter that we don't handle
that case with the greatest efficiency.
NOTE: This is a candidate for the stable branches.
Reviewed-by: Brian Paul <brianp at vmware.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=32395
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4af3fe857dc07923af8786b434dee32d493b577e
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Apr 5 17:57:02 2011 +0200
r300g: postpone fragment shader state validation until draw_vbo
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8361400b76dde6fb63df6c363b7dd59c5946e09
Author: Tom Stellard <tstellar at gmail.com>
Date: Tue Apr 5 00:04:45 2011 -0700
r300/compiler: Fix vertex shader MAD instructions with constant swizzles
NOTE: This is a candidate for the 7.9 and 7.10 branches.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d5db24a26415cdec4b3d3f2a92bae7112c9f884
Author: Fabian Bieler <der.fabe at gmx.net>
Date: Fri Mar 25 11:06:01 2011 +0100
st/mesa: Apply LOD from texture object
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d863bd7d7baa0a71529f195b0025d57b9d65089a
Author: Fabian Bieler <der.fabe at gmx.net>
Date: Fri Mar 25 11:04:41 2011 +0100
st/mesa: Apply LOD bias from correct texture unit
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8778bf221e90e9b59caad02ab72a0a0edcfe2451
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 5 07:53:05 2011 -0600
mesa: fix alpha value for texstore_rgbx8888
Silences constant overflow compiler warning.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7339d42c603048c0f89276da6576647c4421ba0
Author: Fabian Bieler <der.fabe at gmx.net>
Date: Tue Apr 5 07:51:01 2011 -0600
mesa: Guard against null pointer deref in fbo validation
This matches the behaviour below when numSamples is compared.
At least with the gallium state tracker this can actually occur if st_render_texture fails.
Signed-off-by: Brian Paul <brianp at vmware.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db0f9e701d59dcfcd3b50f4d245897692f27fec9
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 5 07:51:01 2011 -0600
mesa: added _mesa_get_attachment_teximage() helpers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9375cd0e895ac2c3e7ff17f18da7a7f8cd3a82d
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 5 07:51:01 2011 -0600
mesa: 80-column wrapping
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ac64f73019ff72e106ed60c7a30ff7a24e12b43
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Apr 5 16:54:08 2011 +1000
r300c: fix build since last r300g commit
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3011ea60cc36a888da031ebac932d67473f4521
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Apr 5 06:21:26 2011 +0200
r300g: fix RG/LATC1_SNORM by doing UNORM->SNORM conversion in the shader
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=20141d9efdf674a3c7a13a75fabe533665d02cd0
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Apr 5 06:18:18 2011 +0200
r300/compiler: implement the CND opcode
No one uses it now, but I will need it for a lowering pass.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c97234507ad7de36e57868ade22a11ea8de773a6
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Apr 5 02:44:03 2011 +0200
r300/compiler: set the MSB of ADDR for inline constants
The docs say so.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d92596c5619eee4bac0fdc7733bafcd578309de
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 4 17:42:25 2011 -0600
st/mesa: minor assorted clean-ups and fixes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed9396782e40a9a6106f0b3168e723de077c5587
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 4 17:36:40 2011 -0600
st/mesa: use 'array' local var to simplify the code a bit
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6cab07685fa48174b310e52b26151a8fb8a8e6dc
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 4 17:24:09 2011 -0600
st/mesa: fix zero-sized user vertex buffer bug
Commit 4c4ab5668cd6df573db7b065f0493fb80ac70ab8 didn't properly
handle the stride==0 case.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35961
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e397b3a7c051b70a574e34096b70fc98e4e84b2c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Sat Apr 2 18:56:33 2011 -0700
mesa: Add fall-back formats for unsupported snorm formats
This is always the way with real hardware and desktop OpenGL. Some
hardware can't do some formats natively. The alpha-only, luminance,
and intensity formats are usually the most problematic. Some sized
formats can also be problematic. This patch provides fall-back
formats for those that are not natively supported.
At some point it would be interesting to try providing
device-independent conversions using EXT_texture_swizzle. The drivers
that support EXT_texture_swizzle could, for example, see
GL_LUMINANCE16_SNORM as MESA_FORMAT_SIGNED_R16 with a { r, r, r, 1 }
swizzle. Care would need to be taken to prevent issues with using
those textures for FBO rendering.
This is the rest of the fix for glean's pixelFormats test on i965.
Reviewed-by: Marek Olšák <maraeo at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad3fbac00bb4430aa26f4dbd3a795715b0fc7fef
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Sat Apr 2 18:49:13 2011 -0700
i965: Add the missing supportable EXT_texture_snorm formats
This class of hardware can natively sample all of the snorm surface
formats that DX10 requires, but it can't do some of the legacy GL
formats. In particular, all of the alpha, luminance, and intensity
formats are unsupported.
This partially fixes the breakage in glean's pixelFormats test since
GL_EXT_texture_snorm support was added to Mesa.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=19d06b5c058f08eeaeb2f54bd9d24d0c8b11e621
Author: Bryan Cain <bryancain3 at gmail.com>
Date: Mon Apr 4 23:07:16 2011 +0200
nv50: prevent NV_OP_SELECT from having flags_def defined
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdb04c0384838d983ccd1bc239dcce2b37ee77f8
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 4 14:37:16 2011 -0600
mesa: work around failed assertion for GL_RGBA16_SNORM accum buffer
We use this format to represent the accum buffer. No snorm texture
sampling or rendering takes place.
Fixes failed assertion with swrast and any app using the accum buffer
(and glxinfo).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=32a11e5324dcad267d21188ae21bdc8f0b0f29a1
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 4 11:30:46 2011 -0600
docs: update prerequisites, remove old demo info
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=48f696c79364bc006e77e27de3511b090241080d
Author: Brian Paul <brianp at vmware.com>
Date: Mon Apr 4 11:16:51 2011 -0600
docs: update info about Mesa packaging/contents
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d96ae8fc7c77768b0abb0e7fce7cb9cdc661c2b
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Apr 4 18:55:08 2011 +0200
r300/compiler: apply the texture swizzle to shadow pass and fail values too
Piglit tests:
- glsl-fs-shadow2d-01
- glsl-fs-shadow2d-02
- glsl-fs-shadow2d-03
- fs-shadow2d-red-01
- fs-shadow2d-red-02
- fs-shadow2d-red-03
NOTE: This is a candidate for the stable branches.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2679760834e9c04c81cc9af4bc19d312530ea055
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Apr 4 18:35:16 2011 +0200
r300/compiler: propagate SaturateMode down to the result of shadow comparison
NOTE: This is a candidate for the stable branches.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0fc40f0d5a04fa85f720c0a4a7aa27bbb19e114
Author: Alex Deucher <alexdeucher at gmail.com>
Date: Mon Apr 4 11:15:18 2011 -0400
r600g: add some additional ontario pci ids
Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0da65bd0e5ecb443cfd0dbae15f5ae5638bcf72
Author: Alex Deucher <alexdeucher at gmail.com>
Date: Mon Apr 4 11:13:44 2011 -0400
r600c: add new ontario pci ids
Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6caac3ecb8bc32d92c35fdb1f0a67541ffa8af29
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Apr 3 21:25:40 2011 +0200
r300g: do not wait for a busy BO if neither GPU nor CPU is changing it
Improves frame rate in apps with at least one user vertex buffer and
a hw index buffer.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d881cbd5a4cd3252fdc8e1f81a6d48d67fc5e5c
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Apr 3 21:18:03 2011 +0200
r300g: remove unused RADEON_PB_USAGE_CACHE
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f814dd7a8171d9a3c413c3813d2d91d655535041
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Apr 3 19:26:54 2011 +0200
r300g: tell the GLSL compiler to lower the continue opcode
NOTE: This is a candidate for the stable branches.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=652bf121f2124ec92b74f6e3e40e6aefcc1c50dc
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Apr 3 19:17:19 2011 +0200
r300g: avoid mapping the same buffer twice
Shouldn't happen, but you never know.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=437c748bf5072d2bded77a00c74c51cdb8b510e5
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Apr 3 18:14:49 2011 +0200
r300g: handle DISCARD_WHOLE_RESOURCE for buffers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c35572352e3e92683988ee8d151b47f4190d62f9
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Apr 3 17:32:47 2011 +0200
r300g: remove the redundant reference counter in radeon_bo
We already have pb_buffer::reference::count.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=381d32af74e305041b5e75930a32795db94e0e15
Author: Tom Stellard <tstellar at gmail.com>
Date: Sat Apr 2 23:14:12 2011 -0700
Revert "r300/compiler: Remove obsolete compiler passes"
This reverts commit 9f013a8233197d4a0482661cb37cfeac1a61b804.
These passes are still need for non-GLSL paths like g3dvl and ARB
programs.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d7fefb9afbcc6f1d58a92d07c390e6b912c3b00
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Apr 3 01:39:28 2011 -0700
i965/fs: Switch W and 1/W in Sandybridge interpolation setup.
Various documentation mentions that "W" is handed to the WM stage,
but further digging seems to indicate that they really mean 1/W.
The code here is still unclear, but changing this fixes piglit
test "fragcoord_w" on Sandybridge as well as a Khronos ES2 conformance
test. I also tested 3DMarkMobile ES2.0's taiji and hoverjet demos, as
well as Nexuiz, just to be safe.
NOTE: This is a candidate for the 7.10 branch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a019dd0d6e5bba00e8ee7818e004ee42ca507102
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Apr 3 00:57:30 2011 -0700
i965: Fix null register use in Sandybridge implied move resolution.
Fixes regressions caused by commit 9a21bc6401, namely GPU hangs when
running gnome-shell or compiz (Mesa bugs #35820 and #35853).
I incorrectly refactored the case that dealt with ARF_NULL; even in that
case, the source register needs to be changed to the MRF.
NOTE: This is a candidate for the 7.10 branch (if 9a21bc6401 is
cherry-picked, take this one too).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=904b8ba1bb604b2eaaa22f7f074d236011fe213f
Author: Eric Anholt <eric at anholt.net>
Date: Tue Mar 29 13:22:13 2011 -0700
i965: Fix the VS thread limits for GT1, and clarify the WM limits on both.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6586a3b287ad2799addd392d92c56c7f83e22e8f
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Apr 1 20:13:40 2011 +0100
tests: Use elts in translate_test.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f68d4b0583bd51b18eba6eb1e4be58f37c61778
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Apr 1 20:12:10 2011 +0100
scons: Add aliases for unit tests.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=17bbc1f0425b3768e26473eccea5f2570dcb26d3
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Apr 1 19:19:42 2011 +0100
translate: Respect translate_buffer::max_index.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3733da31e8b4405b65e1b6ca3b6599ecc5af5fe7
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Mar 31 14:40:25 2011 +0100
draw: Prevent out-of-bounds vertex buffer access.
Based on some code and ideas from Keith Whitwell.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a7f013f9db793dab8dbc9f71646dab49f12ed2f
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Mar 29 18:18:05 2011 +0200
gallium: set PIPE_CAP_MIXED_COLORBUFFER_FORMATS in some drivers
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=25f26997670302b07d48207b28f385f85f6af9bb
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Mar 28 02:28:48 2011 +0200
gallium: add a CAP for mixed colorbuffer format support
Some GPUs can't do it (I think most of DX9 ones), so they should have
the option not to allow it.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f013a8233197d4a0482661cb37cfeac1a61b804
Author: Tom Stellard <tstellar at gmail.com>
Date: Thu Mar 31 23:45:26 2011 -0700
r300/compiler: Remove obsolete compiler passes
Branch emulation and loop unrolling are done in the GLSL frontend.
Transforming loops is no longer needed for fragment shaders, but it is still
necessary for vertex shaders.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=18dcbd358f1d4fd5e4a40fa26c6d3bf99485884e
Author: Tom Stellard <tstellar at gmail.com>
Date: Sun Mar 27 01:17:43 2011 -0700
prog_optimize: Fix reallocating registers for shaders with loops
Registers that are used inside of loops need to be considered live
starting with the first instruction of the outermost loop.
https://bugs.freedesktop.org/show_bug.cgi?id=34370
NOTE: This is a candidate for the 7.9 and 7.10 branches.
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3526585b79f6865bfedd15a7336027597555ec7
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Thu Mar 31 16:36:31 2011 +0200
nv50: fix for GPR allocation granularity being 16 bit
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f625689acd570e4f14cc2ebaa43a425d13954ff
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Thu Mar 31 15:49:33 2011 +0200
nv50: copy regalloc fixes from nvc0
Should fix gnome-shell's fade shader.
Unification of the shader backend which is supposed to remove the
code duplication is still WIP.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dedd39cdd198afa54ba5b53384d6be2040f9485
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Mar 31 12:20:10 2011 +0100
draw: Revert code reorg in previous change.
Because
fetch_count = max_index - min_index + 1
overflows for min_index = 0 and max_index = 0xffffffff.
Fixes fdo 35815.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c40b7910ee1338b9d391816df5391ce43f509ef0
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Mar 31 11:41:46 2011 +0100
intel: Fix regression in clear_with_blit from 7bae1c3d
Oops, the mask was being used in the loop to determine whether to use
include the stencil || depth values. This began to fail when mask was
cleared at the beginning of the loop. So reorder the tests and do the
work up-front along with determining the depth_stencil value to use.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35822
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f996e2b1d09dad64c088ccabb1a4a53ebfb8102
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Wed Feb 16 00:25:54 2011 +0100
draw: implement vertex color clamping, and disable SSE and PPC paths
(some little changes by Marek Olšák)
Squashed commit of the following:
commit 737c0c6b7d591ac0fc969a7590e1691eeef0ce5e
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Fri Aug 27 02:13:57 2010 +0200
draw: disable SSE and PPC paths (use LLVM instead)
These paths don't support vertex clamping, and are anyway
obsoleted by LLVM.
If you want to re-enable them, add vertex clamping and test that it
works with the ARB_color_buffer_float piglit tests.
commit fed3486a7ca0683b403913604a26ee49a3ef48c7
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:27:38 2010 +0200
draw_llvm: respect vertex color clamp
commit ef0efe9f3d1d0f9b40ebab78940491d2154277a9
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:26:43 2010 +0200
draw: respect vertex clamping in interpreter path
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebe304fa540f98d047382297f448fec692a67b8b
Author: Jerome Glisse <jglisse at redhat.com>
Date: Mon Mar 28 17:45:31 2011 -0400
gallium: list use inline function to avoid macro shot coming
Macro can lead to hard to debug list bugs. For instance consider
the following :
LIST_ADD(item, list->prev)
3 instruction of the macro became :
(list->prev)->next->prev = item
which is equivalent to :
list->prev = item
Thus list prev field changes and next instruction in the macro
(list->prev)->next = item
became :
item->next = item
And you endup with list corruption, other case lead to similar
list corruption. Inline function are not affected by this short
coming
Signed-off-by: Jerome Glisse <jglisse at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcad6fb670ccc533167d1ae360833989c1eb4823
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Mar 30 16:08:42 2011 +0100
draw: Forgot to remove one istart usage.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=713230ff39cd22a2082c12b937889c3ef81973ac
Author: José Fonseca <jfonseca at vmware.com>
Date: Tue Mar 29 15:35:30 2011 +0100
draw: Fix bug when drawing ushort indices.
When the condition
min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0])
was true, we were wrongly ignoring istart and processing indices 0.
Reorder some statements to make the code easier to understand.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6584d0cd4fa3a3255a4c0962f31338601df705cb
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Mar 30 15:10:50 2011 +0100
intel: Remove the unrelaxed relocation assertion
Now that we purposefully generate delta that point outside of the target
buffer, the assertion has outlived its usefulness.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58f95f9d01f1fe2c260ca87f1ee74d9710947c12
Author: Feng, Haitao <haitao.feng at intel.com>
Date: Tue Mar 29 13:41:35 2011 +0800
egl_dri2 x11: Fix a typo
Signed-off-by: Haitao Feng <haitao.feng at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5eb9f687087a4bc71775a32efcd848fc6cd67694
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Mar 4 15:04:36 2011 +0000
intel: Add some defense against buffer allocation failure for subimage blits
Once more! This time without the unwarranted conversion from
drm_intel_bo_alloc_tiled.
Signed-off-by: [a very embarrassed] Chris Wilson <chris at chris-wilson.co.uk>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5a9a0bc22c4b717c2c32f4ddf283878d6c7ba93
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Mar 30 10:54:31 2011 +0100
Revert "intel: Add some defense against buffer allocation failure for subimage blits"
This reverts commit de7678ef521f4fb34459e407a66ab8bf8be733e1.
The conversion from using drm_intel_bo_alloc_tiled to a plain
drm_intel_bo_alloc forgot that the tiled variant adjusts the
allocation height even for TILING_NONE.
Reported-by: Dave Airlie <airlied at redhat.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35786
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=167d35c303461dd5d126b7b11f7e6da4377b8b59
Author: Michel Dänzer <daenzer at vmware.com>
Date: Wed Mar 30 10:20:00 2011 +0200
gallium: Use explicit values in caps enums.
Simplifies mapping between numbers and identifiers for these.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72e82418ef035dd4fb502e7f0a7e2e869ce8a444
Author: Michel Dänzer <daenzer at vmware.com>
Date: Wed Mar 30 10:48:37 2011 +0200
Use row stride instead of width when getting colour index texels.
Untested, noticed while working on the depth/stencil fix.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b082e04619224b0affc46fb6953c0efd5685fc17
Author: Michel Dänzer <daenzer at vmware.com>
Date: Wed Mar 30 09:02:21 2011 +0200
Use proper source row stride when getting depth/stencil texels.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee8d182426d4ecda7b9f5089d19d36f7de2a4dfe
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Mar 29 17:03:22 2011 -0700
intel: Add IS_GT2 macro for recognizing Sandybridge GT2 systems.
Also, refactor IS_GEN6 to use the IS_GT1 and IS_GT2 macros.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f060df60d1f5ad63a341e39f2ec5a0c3c452cf5
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Tue Mar 29 23:09:02 2011 +0200
nv50,nvc0: implement colour clamping controls
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d04ab396a54d29948363c3353efa5aaa888076a3
Author: Fredrik Höglund <fredrik at kde.org>
Date: Tue Mar 29 19:52:03 2011 +0200
r600g: implement texture barrier
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=948e1eb8e9c166ad5b74abc630d0760768ce78c9
Author: Fredrik Höglund <fredrik at kde.org>
Date: Tue Mar 29 19:43:59 2011 +0200
r600g: implement the pipe_screen fence functions
v2: Allocate the fences from a single shared buffer object.
v3: Allocate the r600_fence structs in blocks of 16.
Spin a few times before calling sched_yield in r600_fence_finish().
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a99e80d795f7c6aec0e73369a31d1728577b9727
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Mar 24 18:31:05 2011 -0700
mesa: Fix ugly indentation left from previous commit
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Chad Versace <chad.versace at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=89d81ab16c05818b290ed735c1343d3abde449bf
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jan 25 10:41:20 2011 -0800
glsl: Calcluate Mesa state slots in front-end instead of back-end
This should be the last bit of infrastructure changes before
generating GLSL IR for assembly shaders.
This commit leaves some odd code formatting in ir_to_mesa and brw_fs.
This was done to minimize whitespace changes / reindentation in some
loops. The following commit will restore formatting sanity.
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Chad Versace <chad.versace at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=92e412e788931ad464125113a64eec8a8223cda3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 24 16:55:50 2011 -0800
glsl: Move _mesa_builtin_uniform_desc from uniforms.c to ir_variable.cpp
This array is going to be used in the main compiler soon. Leaving
them uniforms.c caused problems for building the stand-alone compiler.
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Chad Versace <chad.versace at intel.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0420ae3d9069ff5cbe067bdd5c6075d9292dbe66
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Mar 29 16:35:13 2011 +0200
r300g: add support for all render targets with one and two channels
The hardware should be set according to this table:
FORMAT -> R300 COLORFORMAT
-------------------------
X16 -> UV88
X16Y16 -> ARGB8888
X32 -> ARGB8888
X32Y32 -> ARGB16161616
US_OUT_FMT must contain the real format.
I wasn't able to make B3G3R2 and L4A4 work, but those aren't important.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d41857566d900aee3319f06c272049e6211acc1
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Mar 29 18:01:44 2011 +0200
intel: fix build
broken with e5c6a92a12b5cd7db205d72039f58d302b0be9d5
(mesa: implement clamping controls (ARB_color_buffer_float))
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7bae1c3d85344b7229e0124d1f54376392682430
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Mar 29 15:40:21 2011 +0100
intel: Protect intel_clear_with_blit from failed buffer allocations
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34419
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=252eaa765e69a70036ec33a7e1e0ffeac1aab2ff
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Mar 29 15:39:01 2011 +0100
i965: Avoid name clash of loop counter and member
src/mesa/drivers/dri/i965/brw_fs.cpp:565 warning: name lookup of ‘c’ changed
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b094dff50a05e56f5415d31daa5e4542f321c858
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Mar 10 18:01:32 2011 +0000
i915: Detect allocation failure of batch buffer
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cbdfe1de4a5793d2d43dca81dd8996419b7aeed
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Mar 29 13:03:26 2011 +0200
docs: update GL3 status
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e6a69939c26ab8cc27bcab29ed64cec5e9428ee
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Mar 14 16:37:15 2011 +0100
r300g: finish up signed normalized textures and render targets
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f03791467090db49e5c3d6111cd8d2a7cbe31d75
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Feb 16 00:50:25 2011 +0100
r300g: enable clamping controls
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d4ec87d7f987b3852dafa6802815bb9a3ec7ad4
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Mar 26 13:19:23 2011 +0100
gallium: remove PIPE_CAP_VERTEX_COLOR_CLAMP_CONTROL
The vertex color clamp control is a property of an API,
a lot like gl_rasterization_rules.
The state should be set according to the API being implemented, for example:
OpenGL Compatibility: enabled by default
OpenGL Core: disabled by default
D3D11: always disabled
This patch also changes the way ARB_color_buffer_float is advertised.
If no SNORM or FLOAT render target is supported, fragment color clamping
is not required.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e28fe8fe5d05c87a065f8e72adef8b5077da2c73
Author: Marek Olšák <maraeo at gmail.com>
Date: Sat Mar 26 13:06:22 2011 +0100
mesa: clamp texture border color if ARB_texture_float is unsupported
ARB_texture_float disables clamping of the texture border color,
ARB_color_buffer_float only modifies clamping of the glGet query.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b518f4d0ea72dc3872f351250034aa9155756dd3
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Mar 15 15:00:02 2011 +0100
st/mesa: choose an appropriate texture format for DrawPixels
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2af1da15468d06d3ce9d89bcc706276ecc66f761
Author: Marek Olšák <maraeo at gmail.com>
Date: Mon Mar 14 10:04:36 2011 +0100
gallium: add EXT_texture_snorm support
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=daa5242f9eafaf61f9f492f1e798de8701e6f498
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun Mar 13 14:48:09 2011 +0100
mesa: implement texstore and texfetch hooks for signed normalized formats
The snorm texstore functions were all broken.
swrast support done except for mipmap generation, but I leave it disabled.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0be369975fdfa79bcb702d0c13aa0a221055f61b
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Mar 18 13:44:51 2011 +0100
mesa: initial EXT_texture_snorm support
The component ordering of some formats has been been reversed to match
Gallium types.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=47e3896dfd89a26abbe4ca2469c2480f3982b204
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Wed Feb 16 00:14:49 2011 +0100
gallium: implement clamping controls (ARB_color_buffer_float)
BTW this changes the gallium interface.
Some rather cosmetic changes by Marek.
Squashed commit of the following:
commit 513b37d484f0318311e84bb86ed4c93cdff71f13
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:17:54 2010 +0200
mesa/st: respect fragment clamping in st_DrawPixels
commit 546a31e42cad459d7a7a10ebf77fc5ffcf89e9b8
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:17:28 2010 +0200
mesa/st: support fragment and vertex color clamping
commit c406514a1fbee6891da4cf9ac3eebe4e4407ec13
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Tue Aug 24 21:56:37 2010 +0200
mesa/st: expose ARB_color_buffer_float if unclamping is supported
commit d0c5ea11b6f75f3da2f4ca989115f150ebc7cf8d
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 17:53:41 2010 +0200
mesa/st: use unclamped colors
This assumes that Gallium is to be interpreted as given drivers the
responsibility to clamp these colors if necessary.
commit aef5c3c6be6edd076e955e37c80905bc447f8a82
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:12:34 2010 +0200
mesa, mesa/st: handle read color clamping properly
We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where
the operation mandates it. (see the removed XXX comment. -Marek)
TODO: did I get the set of operations mandating it right?
commit 76bdfcfe3ff4145a1818e6cb6e227b730a5f12d8
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:18:25 2010 +0200
gallium: add color clamping to the interface
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5c6a92a12b5cd7db205d72039f58d302b0be9d5
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Feb 15 23:30:23 2011 +0100
mesa: implement clamping controls (ARB_color_buffer_float)
Squashed commit of the following:
Author: Marek Olšák <maraeo at gmail.com>
mesa: fix getteximage so that it doesn't clamp values
mesa: update the compute_version function
mesa: add display list support for ARB_color_buffer_float
mesa: fix glGet query with GL_ALPHA_TEST_REF and ARB_color_buffer_float
commit b2f6ddf907935b2594d2831ddab38cf57a1729ce
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Tue Aug 31 16:50:57 2010 +0200
mesa: document known possible deviations from ARB_color_buffer_float
commit 5458935be800c1b19d1c9d1569dc4fa30a97e8b8
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Tue Aug 24 21:54:56 2010 +0200
mesa: expose GL_ARB_color_buffer_float
commit aef5c3c6be6edd076e955e37c80905bc447f8a82
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:12:34 2010 +0200
mesa, mesa/st: handle read color clamping properly
(I'll squash the st/mesa part to a separate commit. -Marek)
We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where
the operation mandates it.
TODO: did I get the set of operations mandating it right?
commit 3a9cb5e59b676b6148c50907ce6eef5441677e36
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:09:41 2010 +0200
mesa: respect color clamping in texenv programs (v2)
Changes in v2:
- Fix attributes other than vertex color sometimes getting clamped
commit de26f9e47e886e176aab6e5a2c3d4481efb64362
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:05:53 2010 +0200
mesa: restore color clamps on glPopAttrib
commit a55ac3c300c189616627c05d924c40a8b55bfafa
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:04:26 2010 +0200
mesa: clamp color queries if and only if fragment clamping is enabled
commit 9940a3e31c2fb76cc3d28b15ea78dde369825107
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Wed Aug 25 00:00:16 2010 +0200
mesa: introduce derived _ClampXxxColor state resolving FIXED_ONLY
To do this, we make ClampColor call FLUSH_VERTICES with the appropriate
_NEW flag.
We introduce _NEW_FRAG_CLAMP since fragment clamping has wide-ranging
effects, despite being in the Color attrib group.
This may be easily changed by s/_NEW_FRAG_CLAMP/_NEW_COLOR/g
commit 6244c446e3beed5473b4e811d10787e4019f59d6
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 17:58:24 2010 +0200
mesa: add unclamped color parameters
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bdd12ecb57e9cdc2b21cd665fab14698c1c07df
Author: Marek Olšák <maraeo at gmail.com>
Date: Wed Feb 16 00:02:15 2011 +0100
mesa: regenerate glapi files
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d60a7ce08a67eb8b79c60f829d090ba4a37ed7e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Mar 29 05:49:40 2011 -0700
i965: Resolve implied moves in brw_dp_READ_4_vs_relative.
Fixes piglit test glsl-vs-arrays-3 on Sandybridge, as well as garbage
rendering in 3DMarkMobileES 2.0's Taiji demo and GLBenchmark 2.0's
Egypt and PRO demos.
NOTE: This a candidate for stable release branches. It depends on
commit 9a21bc640188e4078075b9f8e6701853a4f0bbe4.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a21bc640188e4078075b9f8e6701853a4f0bbe4
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Mar 16 14:09:17 2011 -0700
i965: Refactor Sandybridge implied move handling.
This was open-coded in three different places, and more are necessary.
Extract this into a function so it can be reused.
Unfortunately, not all variations were the same: in particular, one set
compression control and checked that the source register was not
ARF_NULL. This seemed like a good idea, so all cases now do so.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f94e0b76ab75a5f0d629431395754b6339d3a98
Author: Vinson Lee <vlee at vmware.com>
Date: Mon Mar 28 20:32:01 2011 -0700
mesa: Add missing parentheses in glBlitFramebufferEXT error strings.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e21beaeb10711a38276d704c4e058cb07f9b23e6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Mar 28 10:13:25 2011 -0700
intel: Don't leak the tex object miptree when replacing it
Eventually the miptree refcounting interface should be cleaned up.
The assymmetry dramatically increases the probability of bugs like
this. It should be made to like like libdrm refcounting or the
refcounting style used in other parts of Mesa.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=33046
Reviewed-by: Eric Anholt <eric at anholt.net>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=92e29dc5b0474c073b0f05d60629fc6c3decfca4
Author: Vinson Lee <vlee at vmware.com>
Date: Mon Mar 28 17:48:37 2011 -0700
gallivm: Fix build with llvm-2.9.
The build fix of commit 40ae214067673edbda79371969d1730b6194d83e does
not apply to llvm-2.9 but rather to llvm-3.0svn.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2737350157cf048b436d7b64d420881ff6df9223
Author: Vinson Lee <vlee at vmware.com>
Date: Mon Mar 28 17:37:33 2011 -0700
i915g: Fix build.
Fix build failures introduced with commit 0fbb64a52931ba5871aa2c5eb01b81d391f678d1.
Reviewed-by: Jakob Bornecrantz <wallbraker at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fbb64a52931ba5871aa2c5eb01b81d391f678d1
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date: Mon Mar 28 21:16:12 2011 +0200
i915g: use drm ioctl to get pci devid
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=40ae214067673edbda79371969d1730b6194d83e
Author: Tobias Droste <tdroste at gmx.de>
Date: Sun Mar 27 08:11:14 2011 -0700
gallivm: Fix build with llvm-2.9
In llvm-2.9 Target->createMCInstPrinter() takes different arguments
Signed-off-by: Tobias Droste <tdroste at gmx.de>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d7c27f5ec2f30c264dc2d53c4980970b3a13ee5
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Wed Mar 23 21:58:06 2011 +0100
st/mesa: Validate state before doing blits.
Specifically, this ensures things like the front buffer actually exist. This
fixes piglt fbo/fbo-sys-blit and fd.o bug 35483.
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=244a3bbf14ef4f739e7f3be298c8613a2667fce0
Author: Fabian Bieler <der.fabe at gmx.net>
Date: Wed Mar 23 23:27:01 2011 +0100
r600g: Handle texture fetch instructions with relative addressing
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da5b4764b28a1efd2e9dbf0741247288da36f546
Author: Fabian Bieler <der.fabe at gmx.net>
Date: Wed Mar 23 23:26:41 2011 +0100
r600g: Handle texture fetch instructions with neg or abs on source register
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78037d95da06b81799e75410154c8141b0a30ec0
Author: Fabian Bieler <der.fabe at gmx.net>
Date: Wed Mar 23 18:12:44 2011 +0100
r600g: Handle texture fetch instructions with swizzle on source register
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8752824f27c979986ae855667337e89637b005fb
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sat Mar 26 23:37:09 2011 -0700
glsl: Accept precision qualifiers on sampler types, but only in ES.
GLSL 1.30 states clearly that only float and int are allowed, while the
GLSL ES specification's issues section states that sampler types may
take precision qualifiers.
Fixes compilation failures in 3DMarkMobileES 2.0 and GLBenchmark 2.0.
NOTE: This is a candidate for stable release branches.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c8beb0ab5e72a9d2ecaad51db16a7d5291e120b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sat Mar 26 22:04:23 2011 -0700
i965/fs: Fix linear gl_Color interpolation on pre-gen6 hardware.
Civilization 4's shaders make heavy use of gl_Color and don't use
perspective interpolation. This resulted in rivers, units, trees, and
so on being rendered almost entirely white. This is a regression
compared to the old fragment shader backend.
Found by inspection (comparing the old and new FS backend code).
References: https://bugs.freedesktop.org/show_bug.cgi?id=32949
NOTE: This is a candidate for the 7.10 branch.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=62d5f7a04a0b3b11dc3bcf1f416f3b7646eef4f5
Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date: Wed Mar 16 13:51:22 2011 +0100
egl/wayland-drm: Fix include path
src/egl/main/egltypedefs.h needs the path for EGL/egl.h
Reported by jlind on irc.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1bd01247320d73cc296cce53f2408c0aa4af05a
Author: Kristian Høgsberg <krh at bitplanet.net>
Date: Mon Mar 7 20:19:10 2011 -0500
egl_dri2: We don't actually support KHR_gl_texture_2D_image
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=981e338611699ed965966a161b7ba0aaa3e87ee0
Author: Kristian Høgsberg <krh at bitplanet.net>
Date: Mon Mar 7 20:18:29 2011 -0500
egl_dri2: Enable image extensions in one place
We know what we can support in egl_dri2.c so just enable the extensions
there.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56ef62d9885f805bbfb2243dc860ff425d5b4d3b
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Mar 25 10:59:46 2011 -0700
glsl: Generate readable unique names at print time.
Since GLSL IR allows multiple ir_variables to share the same name, we
need to generate unique names when printing the IR. Previously, we
always used %s@%p, appending the ir_variable's memory address.
While this worked, it had two drawbacks:
- When there aren't duplicates, the extra "@0x669a3e88" is useless
and makes the code harder to read.
- Real duplicates were hard to tell apart:
channel_expressions at 0x6699e3c8 vs. channel_expressions at 0x6699ddd8
We now append @2, @3, @4, and so on, but only where necessary to
distinguish duplicates. Since we only do this at print time, any
performance impact is irrelevant.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Ian Romanick <idr at freedesktop.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb0dd370945b9e3f5eb548a1a4a8184bb0e604fc
Author: Vinson Lee <vlee at vmware.com>
Date: Fri Mar 25 12:47:06 2011 -0700
gallivm: Fix build with llvm-2.9.
In llvm-2.9, the header file llvm/System/Host.h has been moved to
llvm/Support/Host.h.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfdff940b6cb69b882595e16cdab12b9f440c201
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Jan 24 16:45:11 2011 -0800
glsl: Make add_variable, add_uniform, et. al. have similar signatures
While making some other changes in this area I was finding it annoying
each of these functions took mostly the same set of parameters in
differing orders.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e994e150f65c854229b4af12eae5519ebd9dda1
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Mar 24 18:01:37 2011 -0700
i965/fs: Use different name for inner loop counter
'i' is already used for the outer loop. This caused some problems
while doing other work in this area. No bug exists here... until you
want to use the outer loop counter in the inner loop.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d9d036004f135c38990c60f46074b70cff6e663
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Mar 24 16:50:23 2011 -0700
glsl: Fix off-by-one error setting max_array_access for non-constant indexing
NOTE: This is a candidate for the stable branches.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc83f6bd585bba6dee3fa2264d32ab59e9a9c99e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Mar 24 16:49:21 2011 -0700
glsl: Add array access bounds checking to ir_validate
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf290344cc6c61b81452a28d739021a7f11b11bc
Author: Brian Paul <brianp at vmware.com>
Date: Fri Mar 25 10:33:51 2011 -0600
mesa: add void to save_TextureBarrierNV()
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=28f1d6ab4913a9e37cacc7e903f8ce04bb3c8e1c
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Mar 25 16:00:11 2011 +0000
glsl: Add void to _mesa_destroy_shader_compiler() argument list.
At least MSVC sees a distinction between foo() and foo(void) and warns
about it.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a81828cb962e747644dd5b479179cd4f55932c1e
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Mar 25 15:59:03 2011 +0000
mesa: Avoid redefining PUBLIC/USE/likely/unlikely macros.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fbe020bbcfeefbb2b6d6d8d0e23bca99bc06bf1
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Mar 25 15:41:43 2011 +0000
mesa: Use appropriate call convention in VertexAttribI*v.
We were using typecasts because the functions pointers are polymorphic
in the second argument type, which.
Surprisingly the wrong calling convention didn't cause crashes on Windows,
but it was causing certain registers to be trashed in MSVC optimized
builds, when processing callists in the ClearView RC Flight Simulator.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5858abec6efd01d6d190d9116ff803c096bc279b
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Mar 25 11:37:24 2011 +0000
gallium: Avoid redefinition of likely/unlikely macros on non gcc compilers.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=acd7ce57f79b3bd729041dc97c04a78386d13404
Author: José Fonseca <jfonseca at vmware.com>
Date: Fri Mar 25 11:23:16 2011 +0000
mesa,mapi: Remove spurious const keyword from ClearBufferfi args.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=226ae9d6c8f282de788404b4d98af7ddf8ee30f4
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Mar 24 23:35:16 2011 +0100
r300g: fix alpha-test with no colorbuffer
Piglit:
- fbo-alphatest-nocolor
NOTE: This is a candidate for the stable branches.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1a9ef2304e9dc688b604fab889964922e76b6fe
Author: Brian Paul <brianp at vmware.com>
Date: Thu Mar 24 13:38:04 2011 -0600
mesa: added _mesa_dump_image() for debugging
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4852ae4d24396daa323652023655fb3b6456ff5
Author: Brian Paul <brianp at vmware.com>
Date: Thu Mar 24 13:15:29 2011 -0600
mesa: minor whitespace fixes
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2911fa0cca86f7acbc5423cab4dd328a412253cd
Author: Eric Anholt <eric at anholt.net>
Date: Sun Mar 13 13:43:05 2011 -0700
i965/fs: Make compile failure more verbose with INTEL_DEBUG=wm.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a101f957714dea2bc956d516d34c5b56ecb2c64
Author: Eric Anholt <eric at anholt.net>
Date: Sun Mar 13 00:25:36 2011 -0800
i965/fs: Clean up reg_undef args from long ago lack of fs_inst overloads.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=53d78be3bde68bfb6416fb9c1abfbc24030f390e
Author: Eric Anholt <eric at anholt.net>
Date: Sun Mar 13 00:23:40 2011 -0800
i965/fs: Clean up the emit calls by introducing emit() overload helpers.
I think the code ends up a lot more legible this way, though we've
still got the overloads in the fs_inst as well (even though there's
only one caller left currently).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=82dd62fb22c8f88d62e3c77666c6805a2ac6ecd3
Author: Brian Paul <brianp at vmware.com>
Date: Thu Mar 24 11:39:21 2011 -0600
mesa: new MESA_EXTENSION_MAX_YEAR env var
If set to year X, only report extensions up to that year. This is a
work-around for games that try to copy the extensions string to a fixed
size buffer and overflow. If a game was released in year X, setting
MESA_EXTENSION_MAX_YEAR to that year will likely fix the problem.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c75d5ae63c356ac9b6d23009ccc9af6205dbb4a
Author: Brian Paul <brianp at vmware.com>
Date: Thu Mar 24 11:32:33 2011 -0600
svga: adjust triangle rasterization offset
Fixes minor sub-pixel positioning error in some apps.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c22a7f9045ff7a4a9505225a133b25e262958e1c
Author: Iain Hibbert <plunky at rya-online.net>
Date: Thu Mar 24 08:35:48 2011 -0600
radeon: use C99 style in macros with variable arguments
Signed-off-by: Iain Hibbert <plunky at netbsd.org>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff2950dd690a2ed9ee96823030ba9edf073c8229
Author: Brian Paul <brianp at vmware.com>
Date: Thu Mar 24 08:34:19 2011 -0600
radeon: reorder #includes to silence warnings
Silences warnings about RADEON_TILING_SURFACE being redefined.
Only compile tested, not run tested.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5745429d733f2b381b8afef74448c29e7c3c2ed
Author: Brian Paul <brianp at vmware.com>
Date: Thu Mar 24 08:29:28 2011 -0600
r128: fix an old annoying warning
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d40bf25662feea57a804502814634ffa908b58c
Author: Brian Paul <brianp at vmware.com>
Date: Thu Mar 24 08:29:28 2011 -0600
radeon: fix radeon_create_image_from_name() wrong parameter type
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4e392bf8d35a87f84c8a58f9d2bd174ec29ebd9
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Mar 24 10:43:27 2011 +0000
st/wgl: Adjust the pbuffer invisible window size.
Thanks to Brian Paul for diagnosing the issue.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81992010b57e5b137c9319b47f282e267a086582
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Mar 23 16:36:59 2011 +0000
mesa: More glGet* fixes.
glGet(GL_NORMAL_ARRAY) giving potentially wrong results.
Most of glGet(GL_XXX_ARRAY_BUFFER_BINDING) giving totally bogus results.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=12b9e079665915e610c1dbb5f830057bb319efbb
Author: Brian Paul <brianp at vmware.com>
Date: Wed Mar 23 09:05:04 2011 -0600
mesa: remove unused _MESA_NEW_NEED_NORMALS
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ecb61c30c4984a8513b306b640f9d274d8ecf61
Author: Brian Paul <brianp at vmware.com>
Date: Wed Mar 23 09:04:22 2011 -0600
mesa: remove _MESA_NEW_TRANSFER_STATE
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6970872c083a813a6d6ce9ce0cde2375da6dcbc
Author: José Fonseca <jfonseca at vmware.com>
Date: Tue Mar 22 22:45:21 2011 +0000
mesa: Fix typo glGet*v(GL_TEXTURE_COORD_ARRAY_*).
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d7c12de1e3bce6c14ed6b79b64c2bce48e560a5
Author: Fabian Bieler <der.fabe at gmx.net>
Date: Thu Mar 3 10:08:08 2011 +0100
r600g: Check for relative addressing in destination register when trying to merge instruction groups
Signed-off-by: Henri Verbeet <hverbeet at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4b040c2b922ff1887651cbf658b06b48b5992c5
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Mar 21 19:56:26 2011 +1000
r600g: fix bo names causing -35 EDEADLCK
this is a port of the r300 winsys code to do the same thing.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b881ea87f1d59482420047e6d7454c78dd4f0e89
Author: José Fonseca <jfonseca at vmware.com>
Date: Mon Mar 21 17:28:21 2011 +0000
svga: Avoid synchronizing when doing piecewise upload of textures.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=29288249e35693a33b7873ed11b09c313b2e49f0
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Mar 17 23:33:50 2011 +0000
svga: Undo the DMA buffer size limiting.
Move this to the winsys, given it is not a virtual device limitation,
but a limitation specific to certain winsyses.
Also update debug message.
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b13c988acbf56018c52724e902a15c92ad89db3
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Mar 21 12:03:20 2011 +1000
glapi: drop glapi.[ch] and glapitemp.h from being copied to the X server.
These files are no longer considered shared as the X code is a lot simpler
without sharing them.
Signed-off-by: Dave Airlie <airlied at redhat.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfc7ded3ff5bdaff17e1022e11fd0e3aeee870a1
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:42 2011 -0600
mesa: 80-column wrapping and comment updates
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0d767ad4c6ee13c72577b072b24aa06841f6357
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:41 2011 -0600
mesa: 80-column wrapping, update comment
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=912c4ec6dfda03d06b6edc59cf62f1a61f22ee29
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:41 2011 -0600
gl.h: reorder some #defines
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=933b99f113c97588b616daad2fb19456eece96e2
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:41 2011 -0600
mesa: consolidate enable/disable code for GL_TEXTURE_GEN_S/T/R/Q
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec4a21b0e21e8c706f26db5308fb267b6979b631
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:41 2011 -0600
mesa: consolidate clip plane update code
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=957552fce0c272b476d89bee374724e8a94a8d8a
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:41 2011 -0600
mesa: 80-column wrapping
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aafcbd2cf726e9f300d6a9cdfd62ee0fd64f85c9
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:41 2011 -0600
mesa: replace macro with function
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9459cc593c7fc7f8e5e0a7e9e673c075d91ae057
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:41 2011 -0600
mesa: 80-column wrapping
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=630d925666766f1c5c9ee2fc31ed307c987d76ff
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:40 2011 -0600
mesa: rename functions to follow Mesa conventions
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79f4281a52e18f7068543547631acb22c29909c2
Author: Brian Paul <brianp at vmware.com>
Date: Sat Mar 19 14:17:40 2011 -0600
mesa: 80-column wrapping
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=83ff3809f1bf081964dc63ae48dc91f031e0a859
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Thu Mar 17 17:07:30 2011 +0100
nv50,nvc0: implement texture barrier
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d2ef284bb3ec419b8f53f56bff7f6dd5492ee4c
Author: Tom Stellard <tstellar at gmail.com>
Date: Fri Mar 18 11:06:47 2011 -0700
r300/compiler: Use a 4-bit writemask in pair instructions
We now use a 4-bit writemask for all instruction types, which makes it
easier to write generic helper functions to manipulte writemasks.
NOTE: This is a candidate for the 7.10 branch.
More information about the mesa-commit
mailing list