Re: [Mesa-dev] [PATCH] i965/gen7: Fix depth buffer rendering to tile offsets.

2012-01-12 Thread Eric Anholt
On Wed, 11 Jan 2012 16:21:38 -0800, Chad Versace wrote: > On 01/11/2012 03:40 PM, Eric Anholt wrote: > > diff --git a/src/mesa/drivers/dri/i965/gen7_misc_state.c > > b/src/mesa/drivers/dri/i965/gen7_misc_state.c > > index 8a383f5..c2f58d5 100644 > > --- a/src/mesa/drivers/dri/i965/gen7_misc_stat

Re: [Mesa-dev] [PATCH] i965/gen7: Fix depth buffer rendering to tile offsets.

2012-01-11 Thread Chad Versace
On 01/11/2012 03:40 PM, Eric Anholt wrote: > Previously, we were saying that everything from the starting tile to > region width+height was part of the limits of our depthbuffer, even if > the tile was near the bottom of the depthbuffer. This mean that our > range was not clipping to buffer buonds

[Mesa-dev] [PATCH] i965/gen7: Fix depth buffer rendering to tile offsets.

2012-01-11 Thread Eric Anholt
Previously, we were saying that everything from the starting tile to region width+height was part of the limits of our depthbuffer, even if the tile was near the bottom of the depthbuffer. This mean that our range was not clipping to buffer buonds if the start tile was anything but the start of th