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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user