ilo: allow ilo_view_surface to skip layer offsetting
authorChia-I Wu <olvaffe@gmail.com>
Fri, 20 Dec 2013 15:59:34 +0000 (23:59 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 8 Jan 2014 10:11:34 +0000 (18:11 +0800)
commit8d9f5d57e25af3de0e35e5c7f3c0bff03b080ba7
treeff8bdd2e1ed1efd4f10b378b61a342d708d1a4a9
parent0978a6966abb886539158934d11ae7f170786be2
ilo: allow ilo_view_surface to skip layer offsetting

Make offset to layer optional in ilo_gpe_init_view_surface_for_texture.
render_cache_rw is always the same as is_rt and is replaced.
src/gallium/drivers/ilo/ilo_gpe.h
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_gpe_gen7.c
src/gallium/drivers/ilo/ilo_state.c