[PATCH 1/9] vulkan: Add initial Wine vulkan header.

Roderick Colenbrander thunderbird2k at gmail.com
Mon Nov 6 10:56:15 CST 2017


On Nov 6, 2017 8:22 AM, "Sebastian Lackner" <sebastian at 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 at 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20171106/89ba30dd/attachment-0001.html>


More information about the wine-devel mailing list