anv/entrypoints: Use the function pointer types provided by vulkan.h

This is a bit cleaner than generating the types ourselves when making the
table.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
Jason Ekstrand
2016-06-10 12:30:05 -07:00
parent 42624ea837
commit 9ed0d9dd06

View File

@@ -113,7 +113,7 @@ if opt_header:
for type, name, args, num, h in entrypoints:
print_guard_start(name)
print " %s (*%s)%s;" % (type, name, args)
print " PFN_vk{0} {0};".format(name)
print_guard_end(name)
print " };\n"
print " };\n"