Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-08 Thread Eric Anholt
Kenneth Graunke writes: > On 10/07/2012 06:34 PM, Kenneth Graunke wrote: >> On 10/07/2012 06:06 PM, Paul Berry wrote: >>> Can we make a kernel patch that adds 3D_CHICKEN3 to the whitelist? That >>> would at least allow guardband clipping to work with future kernels. >> >> That would definitely w

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-08 Thread Daniel Vetter
On Mon, Oct 8, 2012 at 6:41 AM, Kenneth Graunke wrote: > Perhaps the best course of action is to simply: > 1. Cc: sta...@kernel.org the kernel fix and get it backported as far back as > anybody cares. > 2. Leave GB clipping disabled in 9.0, but keep it for 9.1. That way, by the > time it ships an

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-07 Thread Kenneth Graunke
On 10/07/2012 06:34 PM, Kenneth Graunke wrote: On 10/07/2012 06:06 PM, Paul Berry wrote: On 7 October 2012 15:38, Kenneth Graunke mailto:kenn...@whitecape.org>> wrote: On 10/07/2012 02:40 PM, Daniel Vetter wrote: On Fri, Oct 05, 2012 at 05:08:04PM -0700, Kenneth Graunke wrote:

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-07 Thread Kenneth Graunke
On 10/07/2012 06:06 PM, Paul Berry wrote: On 7 October 2012 15:38, Kenneth Graunke mailto:kenn...@whitecape.org>> wrote: On 10/07/2012 02:40 PM, Daniel Vetter wrote: On Fri, Oct 05, 2012 at 05:08:04PM -0700, Kenneth Graunke wrote: According to internal bug reports, guar

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-07 Thread Paul Berry
On 7 October 2012 15:38, Kenneth Graunke wrote: > On 10/07/2012 02:40 PM, Daniel Vetter wrote: > >> On Fri, Oct 05, 2012 at 05:08:04PM -0700, Kenneth Graunke wrote: >> >>> According to internal bug reports, guardband clipping sometimes >>> incorrectly discards triangles unless bit 5 of 3D_CHICKEN

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-07 Thread Kenneth Graunke
On 10/07/2012 02:40 PM, Daniel Vetter wrote: On Fri, Oct 05, 2012 at 05:08:04PM -0700, Kenneth Graunke wrote: According to internal bug reports, guardband clipping sometimes incorrectly discards triangles unless bit 5 of 3D_CHICKEN3 ("SF Disable fastclip optimization when culled") is set. Exper

Re: [Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-07 Thread Daniel Vetter
On Fri, Oct 05, 2012 at 05:08:04PM -0700, Kenneth Graunke wrote: > According to internal bug reports, guardband clipping sometimes > incorrectly discards triangles unless bit 5 of 3D_CHICKEN3 ("SF Disable > fastclip optimization when culled") is set. > > Experimentally, this appears to be true. W

[Mesa-dev] [PATCH] i965: Disable guardband clipping on SNB unless workaround is present.

2012-10-05 Thread Kenneth Graunke
According to internal bug reports, guardband clipping sometimes incorrectly discards triangles unless bit 5 of 3D_CHICKEN3 ("SF Disable fastclip optimization when culled") is set. Experimentally, this appears to be true. With guardband clipping enabled, Dante randomly loses triangles unless bit 5