mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
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>
(cherry picked from commit 9ed0d9dd06)
This commit is contained in:
parent
242ac96a24
commit
eb0197ad53
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue