[Mesa-dev] [PATCH 1/7] i965: Create local temporaries for depth buffer slice dimensions.

Eric Anholt eric at anholt.net
Thu Sep 27 16:48:20 PDT 2012


Kenneth Graunke <kenneth at whitecape.org> writes:

> We use these in a couple of places, and slice_width/height is a lot
> shorter than mt->level[depth_irb->mt_level].width.  Saves a few
> dereferences as well.

I think we could just use fb->Width/fb->Height, which would similarly
save on typing.
-------------- 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/20120927/81f86a17/attachment.pgp>


More information about the mesa-dev mailing list