Re: [Mesa-dev] [PATCH] mesa: Convert _mesa_generate_mipmap to MapTexImage()-based access.

2011-09-28 Thread Chad Versace
This patch fixes many Piglit tests [failing due to assert(region-map_refcount == 0)] on SNB when HiZ is enabled, and causes no regressions. Tested-by: Chad Versace c...@chad-versace.us On 09/27/2011 12:27 PM, Eric Anholt wrote: From: Brian Paulbri...@vmware.com Now that we can zero-copy

[Mesa-dev] [PATCH] mesa: Convert _mesa_generate_mipmap to MapTexImage()-based access.

2011-09-27 Thread Eric Anholt
From: Brian Paul bri...@vmware.com Now that we can zero-copy generate the mipmaps into brand new glTexImage()-generated storage using MapTextureImage(), we no longer need to allocate image-Data in mipmap generate. This requires deleting the drivers' old overrides of the miptree tracking after