Re: [Mesa-dev] [PATCH 9/9] i965: Add a real native TexStorage path.

2013-09-27 Thread Chad Versace
On 09/18/2013 12:59 PM, Eric Anholt wrote: We originally had a path just did the loop and called ctx->Driver.AllocTextureImageBuffer(), which I moved into Mesa core. But we can do better, avoiding incorrect miptree size guesses and later texture validations by just directly allocating the miptre

[Mesa-dev] [PATCH 9/9] i965: Add a real native TexStorage path.

2013-09-18 Thread Eric Anholt
We originally had a path just did the loop and called ctx->Driver.AllocTextureImageBuffer(), which I moved into Mesa core. But we can do better, avoiding incorrect miptree size guesses and later texture validations by just directly allocating the miptree and setting it to all the images. --- src/