Re: [Mesa-dev] [PATCH 5/5] i965/tex: Unify the TexImage and TexSubImage code

2017-09-15 Thread Iago Toral
On Thu, 2017-09-14 at 20:10 -0700, Kenneth Graunke wrote: > From: Jason Ekstrand > > It's nearly the same so there's no good reason why it can't be in a > common function.  The one difference is that _mesa_store_teximage > calls AllocTextureImageBuffer for us, while _mesa_store_texsubimage > does

[Mesa-dev] [PATCH 5/5] i965/tex: Unify the TexImage and TexSubImage code

2017-09-14 Thread Kenneth Graunke
From: Jason Ekstrand It's nearly the same so there's no good reason why it can't be in a common function. The one difference is that _mesa_store_teximage calls AllocTextureImageBuffer for us, while _mesa_store_texsubimage doesn't, but we don't need that anyway - intelTexImage already does it. R