i915: Only use the new 945 cube layout for compressed textures.
authorEric Anholt <eric@anholt.net>
Fri, 15 May 2009 18:41:42 +0000 (11:41 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Jun 2009 18:06:25 +0000 (11:06 -0700)
commitfbd554d07456cf393a20cb86d1c0e81c416843aa
tree76c7fe3a86e744a89eb0ac32468793517f65ce11
parent6e0df938d4504acc97012dc51002459d1d9f309a
i915: Only use the new 945 cube layout for compressed textures.

The docs actually explain this, but not in a terribly clear manner.
This nearly fixes the piglit cubemap testcase, except that something's
going wrong with the nearest filtering at 2x2 sizes in the testcase.
Looks good by visual inspection, though.

Bug #21692
(cherry picked from commit 5c5a46884899ea25cdf25545d6ab3d9a74eafa3a)
src/mesa/drivers/dri/i915/i915_tex_layout.c