anv/image: Use isl to calculate surface layout
authorChad Versace <chad.versace@intel.com>
Thu, 3 Dec 2015 00:46:16 +0000 (16:46 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 3 Dec 2015 23:29:08 +0000 (15:29 -0800)
commitb36938964063a4072abfd779f5607743dbc3b6f1
treee63c59725d2a939a16f9a280b738c93a08d1f4cc
parentafdadec77f57b42d0c7f1f44c5ab87b636d38010
anv/image: Use isl to calculate surface layout

Remove the surface layout calculations in anv_image_make_surface().  Let
isl_surf_init() do the heavy lifting.

Fixes 8 Crucible tests and regresses none. (hw=Broadwell and
crucible@33d91ec).
src/vulkan/anv_image.c