isl: Implement isl_surf_init() for gen4-gen9
authorChad Versace <chad.versace@intel.com>
Sat, 14 Nov 2015 00:01:35 +0000 (16:01 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 3 Dec 2015 23:26:11 +0000 (15:26 -0800)
commitafdadec77f57b42d0c7f1f44c5ab87b636d38010
tree31bc8f7d93876442bcfc58cf340e43245dc8a162
parentbda43a0f59e5f5877c10b2ce6727fba99d486d37
isl: Implement isl_surf_init() for gen4-gen9

This is a big code push. The patch is about 3000 lines.

Function isl_surf_init() calculates the physical layout of a surface.

The implementation is "complete" (but untested) for all 1D, 2D, 3D, and
cube surfaces for gen4 through gen9, except:
    * gen9 1D surfaces
    * gen9 Ys multisampled surfaces
    * auxiliary surfaces (such as hiz, mcs, ccs)
14 files changed:
src/vulkan/Makefile.am
src/vulkan/isl.c
src/vulkan/isl.h
src/vulkan/isl_gen4.c [new file with mode: 0644]
src/vulkan/isl_gen4.h [new file with mode: 0644]
src/vulkan/isl_gen6.c [new file with mode: 0644]
src/vulkan/isl_gen6.h [new file with mode: 0644]
src/vulkan/isl_gen7.c [new file with mode: 0644]
src/vulkan/isl_gen7.h [new file with mode: 0644]
src/vulkan/isl_gen8.c [new file with mode: 0644]
src/vulkan/isl_gen8.h [new file with mode: 0644]
src/vulkan/isl_gen9.c [new file with mode: 0644]
src/vulkan/isl_gen9.h [new file with mode: 0644]
src/vulkan/isl_priv.h [new file with mode: 0644]