Re: [Mesa-dev] [PATCH 2/2] prog_optimize: Add simplify CMP optimization pass

2011-04-06 Thread Matt Turner
On Thu, Apr 7, 2011 at 3:06 AM, Tom Stellard wrote: I don't know anything about this code, but I just want to verify that T0 (tee zero) and TO (tee oh) are different things and are used in the right places. > +/** > + * This pass replaces CMP T0, T1 T2 T0 with MOV TO, T2 when the CMP > + * instr

[Mesa-dev] [PATCH 2/2] prog_optimize: Add simplify CMP optimization pass

2011-04-06 Thread Tom Stellard
This pass removes conditions from conditional assignments when possible. This pass is useful for hardware that requires a lot of lowering passes that generate many CMP instructions. --- src/mesa/program/prog_optimize.c | 78 ++ 1 files changed, 78 insertions(+

[Mesa-dev] Mesa 7.10.2 release

2011-04-06 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mesa 7.10.2 has been released. This is a stable release containing bug fixes since the 7.10.1 release. The tag in the GIT repository for Mesa 7.10.2 is 'mesa-7.10.2'. Mesa 7.10.2 is available for download at ftp://freedesktop.org/pub/mesa/7.10.2/ m

Re: [Mesa-dev] [PATCH 1/2] r600g: fix blend setting with multiple render targets all with the same blend

2011-04-06 Thread Henri Verbeet
Pushed, thanks. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] r6OOg and Starcraft 2

2011-04-06 Thread David Mills
Hello to everyone on the list. Just a small post to say that I've just finished a game of Starcraft 2 on evergreen using the r600g drivers and the game is enjoyable, not just playable (25fps down to 10 under 76-Zealot load). 2 years ago I'd never of thought that possible on open source drivers. T

Re: [Mesa-dev] [PATCH] prog_optimize: get_src_arg_mask() respect writemask for more opcodes

2011-04-06 Thread Brian Paul
On 04/06/2011 12:01 AM, Tom Stellard wrote: --- src/mesa/program/prog_optimize.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/mesa/program/prog_optimize.c b/src/mesa/program/prog_optimize.c index 164297a..acf0f60 100644 --- a/src/mesa/program/prog_opt

Re: [Mesa-dev] Mesa (master): draw: Prevent out-of-bounds vertex buffer access.

2011-04-06 Thread José Fonseca
Manuel, Yeah. I ran into the bogus warnings over the weekend and pushed a fix this morning: commit dcbc9be38ecea30506198d0db037cbf532f070e4 Author: José Fonseca Date: Tue Apr 5 21:35:11 2011 +0100 draw: Fix thinko in debug warnings. Thanks for letting me know. Jose On 04/06/2011 11

Re: [Mesa-dev] [PATCH 2/2] prog_optimize: Add simplify CMP optimization pass

2011-04-06 Thread Jerome Glisse
On Tue, Apr 5, 2011 at 2:20 AM, Tom Stellard wrote: > This pass removes conditions from conditional assignments when possible. > This pass is useful for hardware that requires a lot of lowering passes > that generate many CMP instructions. > --- >  src/mesa/program/prog_optimize.c |   87 > ++

Re: [Mesa-dev] Mesa (master): draw: Prevent out-of-bounds vertex buffer access.

2011-04-06 Thread Manuel Massing
Hi Jose, there seems to be a logic error in the commit 3733da31e8b4405b65e1b6ca3b6599ecc5af5fe7 (see below for the relevant section). The "index out of range" message will be printed when the index is actually valid, the condition should be replaced by if (idx < min_index ||