Tony Wasserka
0285e35c87
Thunks: Use libclang-based code generation for libvulkan
2021-12-10 11:25:01 +01:00
Tony Wasserka
85651ad090
Thunks/vulkan: Simplify API entrypoint lookup
...
This avoids the need for the heap-allocated string->symbol map that had
to be kept around previously.
2021-11-18 19:27:09 +01:00
Tony Wasserka
25545dcd66
Thunks/vulkan: Use more efficient unordered_map initialization
...
Dynamically adding each entry involves unneeded map rehashing that can be
avoided by constructing the container using an initializer_list.
2021-11-18 19:27:09 +01:00
Tony Wasserka
a5ac66c1ce
Thunks/vulkan: Use std::string_view to look up API entrypoints
...
This eliminates unneeded memory allocations on library initialization
without change of behavior.
2021-11-18 19:27:09 +01:00
Tony Wasserka
b6effa7a9b
Thunks/vulkan: Ignore null-instances when looking up symbols and remove obsolete code
2021-11-18 19:27:08 +01:00
Ryan Houdek
c0fc4c4623
Thunks: Adds libvulkan
...
This is specifically the device loader rather than the libvulkan loader
library.
This is meant to override what is provided in the ICD files, not the
loader.
There's no real need to replace the loader, it's quite complex
2021-10-05 23:51:26 -07:00