Re: [Mesa-dev] [PATCH 2/4] vulkan/util: Add support to not generate the trampolines.

2018-08-08 Thread Bas Nieuwenhuizen
On Wed, Aug 8, 2018 at 12:19 PM, Emil Velikov wrote: > On 8 August 2018 at 00:14, Bas Nieuwenhuizen wrote: > >> @@ -146,7 +148,7 @@ static const uint16_t string_map[${strmap.hash_size}] = { >> }; >> >> int >> -${name_prefix}_string_map_lookup(const char *str) >> +${name_prefix}_get_entrypoint_i

Re: [Mesa-dev] [PATCH 2/4] vulkan/util: Add support to not generate the trampolines.

2018-08-08 Thread Emil Velikov
On 8 August 2018 at 00:14, Bas Nieuwenhuizen wrote: > @@ -146,7 +148,7 @@ static const uint16_t string_map[${strmap.hash_size}] = { > }; > > int > -${name_prefix}_string_map_lookup(const char *str) > +${name_prefix}_get_entrypoint_index(const char *str) Unrelated - did you mean to have this as

[Mesa-dev] [PATCH 2/4] vulkan/util: Add support to not generate the trampolines.

2018-08-07 Thread Bas Nieuwenhuizen
radv does not need them and the trampolines need a dispatch table in the instance and device. --- src/vulkan/util/vk_entrypoints_gen.py | 47 +++ 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/src/vulkan/util/vk_entrypoints_gen.py b/src/vulkan/util/vk_entr