isl/state: Refactor the per-gen isl_to_gen_h/valign tables
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 3 Jun 2016 02:00:10 +0000 (19:00 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 22 Jun 2016 19:26:43 +0000 (12:26 -0700)
commit62a5e6e03117e5eb3f777633409cb8036be6877d
tree2d46778c1566167c23ce61a2bc76bd75d530156e
parentb1b0d6fb5415c874cbbd1346e50d04e33b0e9c21
isl/state: Refactor the per-gen isl_to_gen_h/valign tables

This moves the #if's around so that halign and valign have different sets
of #if conditions.  This also prepares us for SNB because isl_to_gen_halign
is not defined at all on gen6.

Reviewed-by: Chad Versace <chad.versace@intel.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/intel/isl/isl_surface_state.c