Re: [Mesa-dev] [PATCH 2/7] i965/gen7: Make primitives_written counting work.

2011-12-22 Thread Kenneth Graunke
On 12/22/2011 04:54 PM, Eric Anholt wrote: > The code was relying on gs.prog_data's copy of the > number-of-verts-per-prim, which segfaulted on gen7 since it doesn't > make a GS program. We can easily calculate that value right here. > --- > src/mesa/drivers/dri/i965/brw_draw.c | 33 +++

Re: [Mesa-dev] [PATCH 2/7] i965/gen7: Make primitives_written counting work.

2011-12-22 Thread Paul Berry
On 22 December 2011 16:54, Eric Anholt wrote: > The code was relying on gs.prog_data's copy of the > number-of-verts-per-prim, which segfaulted on gen7 since it doesn't > make a GS program. We can easily calculate that value right here. > --- > src/mesa/drivers/dri/i965/brw_draw.c | 33 >

[Mesa-dev] [PATCH 2/7] i965/gen7: Make primitives_written counting work.

2011-12-22 Thread Eric Anholt
The code was relying on gs.prog_data's copy of the number-of-verts-per-prim, which segfaulted on gen7 since it doesn't make a GS program. We can easily calculate that value right here. --- src/mesa/drivers/dri/i965/brw_draw.c | 33 +++-- 1 files changed, 27 insertion