[Mesa-dev] [PATCH 9/9] i965: Use the separate stencil buffer's offsets for stencil setup.

Chad Versace chad.versace at linux.intel.com
Fri Nov 16 10:28:40 PST 2012


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.versace at 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.


More information about the mesa-dev mailing list