isl: Take a devinfo in lower_storage_image_format instead of an isl_device
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Apr 2016 23:53:31 +0000 (16:53 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Apr 2016 03:44:27 +0000 (20:44 -0700)
commit90576ac96303941ffefe50e56aad15ba09459aa8
treeb8ee5adadf3e014c499c801ca1d12af1cf1668be
parent37f6f21b1f65d13c706a5de00e531608fea9ea66
isl: Take a devinfo in lower_storage_image_format instead of an isl_device

We want to call this function from the shader compiler and having a full
isl_device available at that point isn't practical.

Reviewed-by: Chad Versace <chad.versace@intel.com>
src/intel/isl/isl.h
src/intel/isl/isl_storage_image.c
src/intel/isl/isl_surface_state.c
src/intel/vulkan/anv_image.c