[PATCH 1/6] winevulkan: Use __wine_unix_call interface for Unix lib initialization.
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> --- This patch is interesting on its own. It bypasses syscall interface, but at least eliminates the need for __wine_init_unix_lib mechanism. Later patches use the interface in more places. We still can't call drivers from Unix stack. Since both mechanisms are supported in make_vulkan for now, it's easy to tweak needs_unix_call() if needed. dlls/winevulkan/Makefile.in | 1 + dlls/winevulkan/loader.c | 24 +++++++++++++++--------- dlls/winevulkan/make_vulkan | 12 ++++++++++++ dlls/winevulkan/vulkan.c | 29 +++++++++++------------------ dlls/winevulkan/vulkan_loader.h | 13 +++++++++++++ dlls/winevulkan/vulkan_private.h | 2 ++ 6 files changed, 54 insertions(+), 27 deletions(-)
On 12/9/21 03:14, Jacek Caban wrote:
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> --- This patch is interesting on its own. It bypasses syscall interface, but at least eliminates the need for __wine_init_unix_lib mechanism.
Later patches use the interface in more places. We still can't call drivers from Unix stack. Since both mechanisms are supported in make_vulkan for now, it's easy to tweak needs_unix_call() if needed.
dlls/winevulkan/Makefile.in | 1 + dlls/winevulkan/loader.c | 24 +++++++++++++++--------- dlls/winevulkan/make_vulkan | 12 ++++++++++++ dlls/winevulkan/vulkan.c | 29 +++++++++++------------------ dlls/winevulkan/vulkan_loader.h | 13 +++++++++++++ dlls/winevulkan/vulkan_private.h | 2 ++ 6 files changed, 54 insertions(+), 27 deletions(-)
FWIW the series seems to be breaking Control DX12 mode with the vkd3d-proton version Proton Experimental ships. Introduction logo doesn't display anymore after the series is applied (although the sound plays fine). -- Rémi Bernon <rbernon(a)codeweavers.com>
On 12/9/21 2:09 PM, Rémi Bernon wrote:
On 12/9/21 03:14, Jacek Caban wrote:
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> --- This patch is interesting on its own. It bypasses syscall interface, but at least eliminates the need for __wine_init_unix_lib mechanism.
Later patches use the interface in more places. We still can't call drivers from Unix stack. Since both mechanisms are supported in make_vulkan for now, it's easy to tweak needs_unix_call() if needed.
dlls/winevulkan/Makefile.in | 1 + dlls/winevulkan/loader.c | 24 +++++++++++++++--------- dlls/winevulkan/make_vulkan | 12 ++++++++++++ dlls/winevulkan/vulkan.c | 29 +++++++++++------------------ dlls/winevulkan/vulkan_loader.h | 13 +++++++++++++ dlls/winevulkan/vulkan_private.h | 2 ++ 6 files changed, 54 insertions(+), 27 deletions(-)
FWIW the series seems to be breaking Control DX12 mode with the vkd3d-proton version Proton Experimental ships. Introduction logo doesn't display anymore after the series is applied (although the sound plays fine).
We were trying to return a 64-bit value using NTSTATUS. I will send a new version with that fixed. Thanks, Jacek
participants (2)
-
Jacek Caban -
Rémi Bernon