anv: Use python to generate ICD json files
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 1 Aug 2017 18:31:51 +0000 (11:31 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 2 Aug 2017 16:13:13 +0000 (09:13 -0700)
commit0ab04ba979b7eb360176e6abad1d296e9da94985
treef47f673dfcd076c35125cd96e0cbe6a6e68f5a01
parent7382d8a41684e6f7cd7a558469fcd2724c844982
anv: Use python to generate ICD json files

This is more lines of code but the python is far easier to read than the
sed expressions we were using before.  Also, this allows us to pull the
API version from anv_entrypoints.py so it never gets out-of-sync.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/Makefile.vulkan.am
src/intel/vulkan/anv_icd.py [new file with mode: 0644]
src/intel/vulkan/dev_icd.json.in [deleted file]
src/intel/vulkan/intel_icd.json.in [deleted file]