i965/miptree: Use the isl helpers for creating aux surfaces
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 1 Jul 2016 23:02:29 +0000 (16:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 17 Aug 2016 21:46:22 +0000 (14:46 -0700)
commit2684e48321ac2a22161ae3ed1c21c0169946eed9
tree44614f17bbf45841568b4bbbde120a15311c2f10
parentd9df82f2fff27460531243c83158eab1215d1c79
i965/miptree: Use the isl helpers for creating aux surfaces

In order for the calculations of things such as fast clear rectangles to
work, we need more details of the auxiliary surface to be correct.  In
particular, we need to be able to trust the width and height fields.
(These are not necessarily what you want coming out of the miptree.)  The
only values state setup really cares about are the row and array pitch and
those we can safely stomp from the miptree.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c