i965/miptree: Delete MIPTREE_LAYOUT_FOR_SCANOUT
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 2 Aug 2017 17:54:44 +0000 (10:54 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 7 Aug 2017 16:31:11 +0000 (09:31 -0700)
commita5a673dfa7ecd46698b7d4bbf3013fe747a2d42a
tree71b3d13c2c1812181d6b750dc710432081368657
parent2bca18be446f09285c7f5b36070f5046a5590ad9
i965/miptree: Delete MIPTREE_LAYOUT_FOR_SCANOUT

The flag hasn't affected actual surface layout for some time.  The only
purpose it served was to set bo->cache_coherent = false on the BO used
to create the miptree.  This is fairly silly because we can just set
that directly from the caller where it makes much more sense.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h