From 9ed0d9dd06414b30d28d7d1301a980784e22d8d6 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 10 Jun 2016 12:30:05 -0700 Subject: [PATCH] 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 Acked-by: Emil Velikov Cc: "12.0" --- src/intel/vulkan/anv_entrypoints_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.30.2