On Nov 6, 2017 8:22 AM, "Sebastian Lackner" <sebastian(a)fds-team.de> wrote: On 06.11.2017 09:08, Roderick Colenbrander wrote:
This file is directly generated from Vulkan's vk.xml. For now it contains Core Vulkan types and functions. Will be extended with extensions when we support them. Note there are 4 lines of C++ style comments, but these directly come from the spec and appear in the regular headers as well.
Signed-off-by: Roderick Colenbrander <thunderbird2k(a)gmail.com> --- include/wine/vulkan.h | 2367 ++++++++++++++++++++++++++++++ +++++++++++++++++++ 1 file changed, 2367 insertions(+) create mode 100644 include/wine/vulkan.h
I'm not sure if you are already aware that the struct sizes/alignments do not match between Linux and Windows. There are many structs which have to be defined twice and converted on-the-fly to be compatible with 32-bit. Great I hadn't noticed that. I knew there was conversion especially for function pointers in structs, but hadn't seen this yet. Likely have been lucky enough, because I rarely have to look inside. Do you have examples?