OSDN Git Service

vulkan: Update templates for generated extensions
authorJesse Hall <jessehall@google.com>
Fri, 20 Nov 2015 05:19:17 +0000 (21:19 -0800)
committerJesse Hall <jessehall@google.com>
Mon, 25 Jan 2016 21:49:31 +0000 (13:49 -0800)
commit2818f93c5bc8b186d3455a1ea2fce900e7403465
tree9e1f91db76ffd4504f0815a37ce9a3eb0120f858
parent1d1e65fabaf087d4a42157e376de792e8a60e4b5
vulkan: Update templates for generated extensions

When the swapchain extensions were added to the API file, only
the libvulkan/get_proc_addr.cpp template was updated. This change
updates the remaining templates, so that when used they generate the
appropriate output with the new API file:

- libvulkan/entry.cpp: Remove hardcoded extension entry points, now
  that they're autogenerated.
- nulldrv/null_driver_gen.cpp: Exclude all extension entry points;
  this only works because the API currently only includes entry points
  implemented by the loader. Eventually we'll want to replace this
  with an extension blacklist.

Change-Id: Id6ea11fb739390d8262fa5ce77c213fbbdeb0148
(cherry picked from commit 1d40de6ecdd74c47ebd40fadd5926cc2984cc91c)
vulkan/api/vulkan.api
vulkan/libvulkan/entry.cpp.tmpl
vulkan/nulldrv/null_driver_gen.cpp.tmpl