This is a bit cleaner than generating the types ourselves when making the table.
Signed-off-by: Jason Ekstrand <[email protected]> Cc: "12.0" <[email protected]> --- 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 546829f..46bc553 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.5.0.400.gff86faf _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
