Re: [Mesa-dev] [Mesa-stable] [PATCH] meta: Always bind the texture

2015-09-10 Thread Ian Romanick
On 09/10/2015 11:12 AM, Neil Roberts wrote: > Make sense. > > Is this the only use of the currentTexUnitSave variable? Could be good > to remove it if so. It is. Good catch. I'll remove that before pushing. Thanks. > Reviewed-by: Neil Roberts > > - Neil > > Ian Romanick writes: > >> From

Re: [Mesa-dev] [Mesa-stable] [PATCH] meta: Always bind the texture

2015-09-10 Thread Anuj Phogat
On Wed, Sep 9, 2015 at 1:04 PM, Ian Romanick wrote: > From: Ian Romanick > > We may have been called from glGenerateTextureMipmap with CurrentUnit > still set to 0, so we don't know when we can skip binding the texture. > Assume that _mesa_BindTexture will be fast if we're rebinding the same > t