intel/isl: Refactor and clerify gen8 alignment calculations
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 4 Apr 2017 18:31:22 +0000 (11:31 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 4 Apr 2017 21:51:57 +0000 (14:51 -0700)
commit1fde054b8f8435706d567d0584c44f9fc686a97c
tree278a3a85036ed6fb888d15975b8d78168a8fbea0
parent0de17f52a515e655682b4b894c44ad9d7308794e
intel/isl: Refactor and clerify gen8 alignment calculations

Adding the actual table from the docs makes it clearer exactly what the
restrictions are.  In particular, it becomes clear that compressed
textures ignore the alignment parameters in RENDER_SURFACE_STATE.

Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/isl/isl_gen8.c