i965: Fix up texture layout for small things with wide pitches (tiled)
authorEric Anholt <eric@anholt.net>
Thu, 18 Jun 2009 03:53:27 +0000 (20:53 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 18 Jun 2009 04:01:48 +0000 (21:01 -0700)
commit6c3f6968911e0bb3256e91b070166d3da78a4775
treeae2b32c7cd222e934edec36f942754560dd4de83
parent0f328c90dbc893e15005f2ab441d309c1c176245
i965: Fix up texture layout for small things with wide pitches (tiled)

We were packing according to the pitch, while the hardware appears to base
it on the base level width.

With this and the previous commit, fbo-cubemap now matches untiled behavior.
src/mesa/drivers/dri/i965/brw_tex_layout.c