On 11/05/2012 04:48 PM, Eric Anholt wrote:
> For a packed depth/stencil buffer on separate stencil hardware, the
> separate depth miptree is set up with alignment of 4,4 and the separate
> stencil miptree is setup with alignment of 8,8.  We can't just use the
> irb->draw_{x,y} offsets for stencil, since that is the offset in the
> depth miptree.
> 
> Fixes 12 piglit depthstencil testcases.
> ---
>  src/mesa/drivers/dri/i965/brw_misc_state.c |   53 
> ++++++++++++++++++++--------
>  1 file changed, 38 insertions(+), 15 deletions(-)

Patches 7-9 have my
Acked-by: Chad Versace <chad.vers...@linux.intel.com>

Looking at that tangled, subtle offset code makes my head hurt,
so please never make me look at it again.

But they fix Piglits, and that is good.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to