ilo: offset to layers only when necessary
authorChia-I Wu <olvaffe@gmail.com>
Fri, 20 Dec 2013 06:45:59 +0000 (14:45 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 8 Jan 2014 10:11:34 +0000 (18:11 +0800)
commit011fde4bf2b4337cb07ddc1af8b4398fef9b3648
treeea0a06252ab814934fb9bddd93d939f1b3165cdc
parent0a2a221d019651c98dabe6773e56118ae0009f8d
ilo: offset to layers only when necessary

GEN6 has several requirements regarding the LOD/Depth/Width/Height of the
render targets and the depth buffer.  We used to offset to the layers in
question unconditionally to meet the requirements.  With this commit,
offseting is done only when the requirements are not met.
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_gpe.h
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_state.c