From 1dd63fcbed5be028551e8a1d8cb8d3be6f7d544c Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 11 Jun 2015 10:09:58 -0700 Subject: [PATCH] vk/entrypoints: Don't print every single function call --- src/vulkan/vk_gen.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/vulkan/vk_gen.py b/src/vulkan/vk_gen.py index b97b50d4d00..9b50dbd766e 100644 --- a/src/vulkan/vk_gen.py +++ b/src/vulkan/vk_gen.py @@ -190,19 +190,6 @@ for type, name, args, num, h in entrypoints: print "%s vk%s%s\n __attribute__ ((ifunc (\"resolve_%s\"), visibility (\"default\")));\n" % (type, name, args, name) -logger = """%s __attribute__ ((weak)) anv_validate_%s%s -{ - fprintf(stderr, "%%s\\n", strings + %d); - void *args = __builtin_apply_args(); - void *result = __builtin_apply((void *) anv_%s, args, 100); - __builtin_return(result); -} -""" - -for type, name, args, num, h in entrypoints: - print logger % (type, name, args, offsets[num], name) - - # Now generate the hash table used for entry point look up. This is a # uint16_t table of entry point indices. We use 0xffff to indicate an entry # in the hash table is empty. -- 2.30.2