diff options
author | Jason Ekstrand <[email protected]> | 2016-06-10 12:30:05 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-06-10 13:21:07 -0700 |
commit | 9ed0d9dd06414b30d28d7d1301a980784e22d8d6 (patch) | |
tree | 62a04bc4b69d01abe50de98f148400f1dbcddb40 /src/intel/vulkan | |
parent | 42624ea837e8f422f1cd04403af915bd7f218b8d (diff) |
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 <[email protected]>
Acked-by: Emil Velikov <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/anv_entrypoints_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py index 546829f7f71..46bc5533bcc 100644 --- a/src/intel/vulkan/anv_entrypoints_gen.py +++ b/src/intel/vulkan/anv_entrypoints_gen.py @@ -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" |