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

Kenneth Graunke kenneth at whitecape.org
Thu Sep 27 23:52:35 PDT 2012


On 09/27/2012 04:48 PM, Eric Anholt wrote:
> 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.

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.


More information about the mesa-dev mailing list