i965: Don't forget the cube map padding on gen5+.
authorEric Anholt <eric@anholt.net>
Tue, 8 Oct 2013 07:20:04 +0000 (00:20 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 9 Oct 2013 18:28:19 +0000 (11:28 -0700)
commit791550aa8e70dd5e0bdd5a996ef66b5964cf9095
treee567481bcd407807617c5ce204010ffd9ec86314
parente6fb7441415ba641dd712f561a322fd85c662cb3
i965: Don't forget the cube map padding on gen5+.

We had a fixup for gen4's 3d-layout cubemaps (which, iirc, we'd
experimentally found to be necessary!), but while the spec still requires
it on gen5, we'd been missing it in the array-layout cubemaps.

Cc: "9.1 9.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_tex_layout.c