isl: Replace bash generator with python generator
authorDylan Baker <dylan@pnwbakers.com>
Mon, 13 Jun 2016 18:19:18 +0000 (11:19 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 14 Jun 2016 05:40:52 +0000 (22:40 -0700)
commit5a87bc718197deab7577a028c64a7f591bbfaec4
tree9b61da085cd037ef11363c13c92df901871f3058
parented2dae86aef759a6858f56d77eba77895bec5020
isl: Replace bash generator with python generator

This replaces the current bash generator with a python based generator
using mako. It's quite fast and works with both python 2.7 and python
3.5, and should work with 3.3+ and maybe even 3.2.

It produces an almost identical file except for a minor layout changes,
and the addition of a "generated file, do not edit" warning.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/isl/Android.mk
src/intel/isl/Makefile.am
src/intel/isl/gen_format_layout.py [new file with mode: 0644]
src/intel/isl/isl_format_layout_gen.bash [deleted file]