Module: Mesa Branch: master Commit: 9ed0d9dd06414b30d28d7d1301a980784e22d8d6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ed0d9dd06414b30d28d7d1301a980784e22d8d6
Author: Jason Ekstrand <[email protected]> Date: Fri Jun 10 12:30:05 2016 -0700 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]> --- 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" _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
