On 09/27/2012 04:48 PM, Eric Anholt wrote: > Kenneth Graunke <kenn...@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.
Yeah, sorry for not mentioning it...I dropped this patch. Chad told me that the two are not equal and fb->Width is what we really want...at which point, this patch is rather pointless. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev