diff options
author | dan sinclair <dj2@everburning.com> | 2019-03-05 11:07:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-05 11:07:37 -0500 |
commit | 0242b3c38c2bdf3fb56b0f2c3b6c048899e9ea50 (patch) | |
tree | 2f4da403e93e8bd33680291ff52d93c1a5be7d33 /tests | |
parent | 4c4017d29dddd40433b5865aa391e212ffe741d6 (diff) | |
download | amber-0242b3c38c2bdf3fb56b0f2c3b6c048899e9ea50.tar.gz |
[vulkan] Generate wrapper functions for vulkan methods. (#328)
This CL adds a update_vk_wrappers.py script which is executed during the
build. The script will generate src/vk-wrappers.h and
src/vk-wrappers.inc files into the binary directory. The .h file lists
the struct entries for the VulkanPtr struct.
The vk-wrappers.inc file contains the code to load the vulkan function
pointers. If the vk.xml file is found, the wrappers will be lambdas, if
vk.xml is not found they're straight function pointers. This should
allow us to work with the CTS as we do now.
Issue #324.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions