anv: Add MAX_API_VERSION to anv_extensions.py
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 1 Aug 2017 18:09:50 +0000 (11:09 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 2 Aug 2017 16:13:13 +0000 (09:13 -0700)
commit7382d8a41684e6f7cd7a558469fcd2724c844982
treec90018ee4a9edfe6480e2fc5bdac6ba18ed14b26
parenta25267654b08e2a34c673b905107c3cc3e856d0a
anv: Add MAX_API_VERSION to anv_extensions.py

The VkVersion class is probably overkill but it makes it really easy to
compare versions in a way that's safe without the caller having to think
about patch vs. no patch.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_entrypoints_gen.py
src/intel/vulkan/anv_extensions.py