Re: [Mesa-dev] [PATCH 1/4] i965/gs: Move generation check for bailing earlier.

2011-05-17 Thread Eric Anholt
On Mon, 16 May 2011 22:28:52 -0700, Kenneth Graunke wrote: > On 05/16/2011 09:15 PM, Eric Anholt wrote: > > On Mon, 16 May 2011 15:09:43 -0700, Kenneth Graunke > > wrote: > >> On Sandybridge, we don't need to break down primitives. There's no need > >> to bother setting up brw_compile and such

Re: [Mesa-dev] [PATCH 1/4] i965/gs: Move generation check for bailing earlier.

2011-05-16 Thread Kenneth Graunke
On 05/16/2011 09:15 PM, Eric Anholt wrote: On Mon, 16 May 2011 15:09:43 -0700, Kenneth Graunke wrote: On Sandybridge, we don't need to break down primitives. There's no need to bother setting up brw_compile and such if it's not going to be used; bail as early as possible. This series looks

Re: [Mesa-dev] [PATCH 1/4] i965/gs: Move generation check for bailing earlier.

2011-05-16 Thread Eric Anholt
On Mon, 16 May 2011 15:09:43 -0700, Kenneth Graunke wrote: > On Sandybridge, we don't need to break down primitives. There's no need > to bother setting up brw_compile and such if it's not going to be used; > bail as early as possible. This series looks very nice. You've tested it on a pre-gen

[Mesa-dev] [PATCH 1/4] i965/gs: Move generation check for bailing earlier.

2011-05-16 Thread Kenneth Graunke
On Sandybridge, we don't need to break down primitives. There's no need to bother setting up brw_compile and such if it's not going to be used; bail as early as possible. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_gs.c | 12 ++-- 1 files changed, 6 insertions(+),