[Mesa-dev] [PATCH 2/3] intel: Fix height in stencil buffer region allocation
Eric Anholt
eric at anholt.net
Mon Jul 11 12:08:51 PDT 2011
On Sat, 9 Jul 2011 09:01:07 -0700, Chad Versace <chad at chad-versace.us> wrote:
> If the height of the stencil buffer were odd, then we allocated a region
> whose height was too small --- `height / 2` rather than
> `height / 2 + height % 2`.
Generally this is written "(height + 1) / 2" or "ALIGN(height, 2) / 2".
So, did the math end up working out so that Y tiling the W buffer was
easier?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110711/6cb37ce9/attachment.pgp>
More information about the mesa-dev
mailing list