[Mesa-dev] [PATCH] i965: Don't minify depth when setting up cube map miptrees on Gen4.

Eric Anholt eric at anholt.net
Mon Dec 19 13:43:12 PST 2011


On Mon, 19 Dec 2011 10:38:38 -0800, Kenneth Graunke <kenneth at whitecape.org> wrote:
> Prior to Ironlake, cube maps were stored as 3D textures.  In recent
> refactoring, we removed a separate "layers" parameter in favor of using
> depth.  Unfortunately, depth was getting minified, which is only correct
> for actual 3D textures.
> 
> Fixes piglit tests:
> - bugs/crash-cubemap-order
> - fbo/fbo-cubemap
> - texturing/cubemap
> 
> Also changes texturing/cubemap npot from abort to fail.
> 
> This hasn't seen a full test run since Piglit on Mesa master hangs
> GM45 a lot.
> 
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111219/31326867/attachment.pgp>


More information about the mesa-dev mailing list