i965/surface_state: Use libisl functions for image format lowering
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 16 Apr 2016 20:25:24 +0000 (13:25 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Apr 2016 03:44:27 +0000 (20:44 -0700)
commit541e6c05000b87cee02d5f8e1adc7973c2a2deea
tree1e7cb661c9248a66b03ba5ab313cd6c9754308f7
parente53cabe730ca5d4491a34fd1d385face3100f5bb
i965/surface_state: Use libisl functions for image format lowering

This lets us delete some redundant code and keep all of the
image_load_store format lowering logic in one place: libisl.

Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c