ilo: simplify ilo_texture_get_slice_offset()
authorChia-I Wu <olvaffe@gmail.com>
Tue, 14 May 2013 10:47:03 +0000 (18:47 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 15 May 2013 07:08:54 +0000 (15:08 +0800)
commitca349e02171058c47fea610b2d884e4b08b371ac
tree6605cbe6d1c0521ffd4cb60fbdffdbde07ef9fbb
parent013424678e2604a45c420ec403e6f12b82446b24
ilo: simplify ilo_texture_get_slice_offset()

Always return a tile-aligned offset.  Also fix for W tiling.
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_gpe_gen7.c
src/gallium/drivers/ilo/ilo_resource.c
src/gallium/drivers/ilo/ilo_resource.h