Re: [Mesa-dev] [PATCH] intel: Fix accum buffer mapping since the swrast rework.

2012-01-27 Thread Eric Anholt
On Tue, 24 Jan 2012 17:55:49 -0800, Ian Romanick wrote: > On 01/24/2012 03:59 PM, Eric Anholt wrote: > > A pure swrast-allocated buffer gets an irb of NULL, so we segfaulted > > in the clear-accum test. Just look at the swrast renderbuffer pointer > > for handling swrast rbs. > > --- > > src/me

Re: [Mesa-dev] [PATCH] intel: Fix accum buffer mapping since the swrast rework.

2012-01-25 Thread Daniel Vetter
On Tue, Jan 24, 2012 at 10:33:07PM -0800, Eric Anholt wrote: > On Tue, 24 Jan 2012 23:52:57 -0500, nobled wrote: > > On Tue, Jan 24, 2012 at 6:59 PM, Eric Anholt wrote: > > > A pure swrast-allocated buffer gets an irb of NULL, so we segfaulted > > > in the clear-accum test.  Just look at the swra

Re: [Mesa-dev] [PATCH] intel: Fix accum buffer mapping since the swrast rework.

2012-01-25 Thread Eric Anholt
On Tue, 24 Jan 2012 23:52:57 -0500, nobled wrote: > On Tue, Jan 24, 2012 at 6:59 PM, Eric Anholt wrote: > > A pure swrast-allocated buffer gets an irb of NULL, so we segfaulted > > in the clear-accum test.  Just look at the swrast renderbuffer pointer > > for handling swrast rbs. > > --- > >  src

Re: [Mesa-dev] [PATCH] intel: Fix accum buffer mapping since the swrast rework.

2012-01-24 Thread nobled
On Tue, Jan 24, 2012 at 6:59 PM, Eric Anholt wrote: > A pure swrast-allocated buffer gets an irb of NULL, so we segfaulted > in the clear-accum test.  Just look at the swrast renderbuffer pointer > for handling swrast rbs. > --- >  src/mesa/drivers/dri/intel/intel_fbo.c |   12 +++- >  1 fi

Re: [Mesa-dev] [PATCH] intel: Fix accum buffer mapping since the swrast rework.

2012-01-24 Thread Ian Romanick
On 01/24/2012 03:59 PM, Eric Anholt wrote: A pure swrast-allocated buffer gets an irb of NULL, so we segfaulted in the clear-accum test. Just look at the swrast renderbuffer pointer for handling swrast rbs. --- src/mesa/drivers/dri/intel/intel_fbo.c | 12 +++- 1 files changed, 7 ins

[Mesa-dev] [PATCH] intel: Fix accum buffer mapping since the swrast rework.

2012-01-24 Thread Eric Anholt
A pure swrast-allocated buffer gets an irb of NULL, so we segfaulted in the clear-accum test. Just look at the swrast renderbuffer pointer for handling swrast rbs. --- src/mesa/drivers/dri/intel/intel_fbo.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/me