intel: Add a force_y_tiling parameter to intel_miptree_create().
authorPaul Berry <stereotype441@gmail.com>
Tue, 8 Jan 2013 21:12:09 +0000 (13:12 -0800)
committerPaul Berry <stereotype441@gmail.com>
Wed, 9 Jan 2013 21:10:30 +0000 (13:10 -0800)
commita5f87e88437e9e27d59e1ec875986ff445d991be
treee28c54fbf22bb3ae3256d491fdf66512d426c9bc
parent8f15f19696dceac2eafe7f5ed3e4c491165f3fca
intel: Add a force_y_tiling parameter to intel_miptree_create().

This allows intel_miptree_alloc_mcs() to force Y tiling for the MCS
buffer.  Previously we accomplished this by the hack of passing
INTEL_MSAA_LAYOUT_CMS as the msaa_layout parameter, but that parameter
is going to be going away soon.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/intel/intel_tex_validate.c