intel/isl: Add support for gen4 cube maps to get_image_offset_sa
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 16 May 2017 16:27:16 +0000 (09:27 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 May 2017 14:58:01 +0000 (07:58 -0700)
commit8958355549014d67778f46665bfc4da645d8cf40
tree13aa7dda94d9296d54f9545b63e3b8a58132ed2a
parentb9b7792d9abc722bc9e267050fc4d1be6caec243
intel/isl: Add support for gen4 cube maps to get_image_offset_sa

Gen4 cube maps are a 2-D surface with ISL_DIM_LAYOUT_GEN4_3D which is a
bit weird but accurate none the less.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/isl/isl.c