Re: [Mesa-dev] [PATCH 1/5] mesa: Skip texstore for 0-sized texture data.

2011-10-26 Thread Eric Anholt
On Tue, 25 Oct 2011 16:29:53 -0600, Brian Paul wrote: > On 10/25/2011 03:58 PM, Eric Anholt wrote: > > The intel driver (and gallium, it looks like, though it doesn't use > > these texstore functions at this point) doesn't bother making storage > > for textures with 0 width, height, or depth. Thi

Re: [Mesa-dev] [PATCH 1/5] mesa: Skip texstore for 0-sized texture data.

2011-10-25 Thread Brian Paul
On 10/25/2011 03:58 PM, Eric Anholt wrote: The intel driver (and gallium, it looks like, though it doesn't use these texstore functions at this point) doesn't bother making storage for textures with 0 width, height, or depth. This avoids them having to deal with returning a mapping for that none

[Mesa-dev] [PATCH 1/5] mesa: Skip texstore for 0-sized texture data.

2011-10-25 Thread Eric Anholt
The intel driver (and gallium, it looks like, though it doesn't use these texstore functions at this point) doesn't bother making storage for textures with 0 width, height, or depth. This avoids them having to deal with returning a mapping for that nonexistent data. Fixes assertion failures with