![]() Passing such a structure without conversion to the host library would cause problems and eventually lead to a crash. On Windows a 64 bit integer is aligned on a 8 byte memory address, while compilers on most other systems only align them on a 4 byte boundary. ![]() The biggest problem on 32-bit is caused by alignment differences when using 64 bit integers in structures. While the Vulkan API is almost binary compatible in 64 bit (except the differences in the calling convention), properly translating Vulkan calls on 32 bit turned out to be a bit difficult. Although this seems to be an easy task on first sight, there are various pitfalls that make this wrapper more complicated than you might think. ![]() The code translates the Windows specific surface extensions to the corresponding X11 / XCB extensions and passes the remaining functions on the host Vulkan library. Hoover and later finished by other Wine Staging maintainers. This release adds a first version of a Vulkan wrapper to make the Vulkan API accessible to applications running in Wine. This version adds support for Vulkan and fixes for various other bugs. We are happy to announce the release of Wine Staging 1.9.6.
0 Comments
Leave a Reply. |