Eric Pouech
2fec470ade
vulkan-1/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-08 09:37:46 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Georg Lehmann
3b8d7f7f03
winevulkan: Support Vulkan 1.3.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-25 20:50:49 +01:00
Georg Lehmann
fe5e06185d
winevulkan: Update to VK spec version 1.3.204.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-25 20:50:49 +01:00
Derek Lesho
8bdfb41e26
vulkan-1/tests: Add tests for VK_KHR_external_memory_win32.
...
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-26 19:42:25 +02:00
Jacek Caban
a0428db825
vulkan-1/tests: Don't destroy device if it wasn't created.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-20 22:05:32 +02:00
Paul Gofman
4ac1c48e9d
vulkan-1/tests: Consider vkGetPhysicalDevicePresentRectanglesKHR absence in test_null_hwnd().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-07 22:22:49 +02:00
Paul Gofman
011fabb2c4
winex11.drv: Handle Vulkan surface creation with NULL hwnd.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-03 21:05:31 +02:00
Jacek Caban
0fce8076f2
winevulkan: Use wine_ prefix for Unix thunks.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-29 23:37:45 +02:00
Alexandre Julliard
290c9a4d63
vulkan-1: Use --prefer-native instead of DLL_WINE_PREATTACH.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-19 22:54:08 +01:00
Liam Middlebrook
7e85f53d28
winevulkan: Update to VK spec version 1.2.170.
...
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: Piers Daniell <pdaniell@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-15 16:20:42 +01:00
Brendan Shanks
314cd9cdd5
winevulkan: Export VK_KHR_get_surface_capabilities2 functions from vulkan-1.
...
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-14 09:39:42 +02:00
Georg Lehmann
262e4ab9e0
vulkan-1: Add test for VK_EXT_private_data.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-08 22:13:15 +02:00
Liam Middlebrook
c80b236366
winevulkan: Update to VK spec version 1.2.145.
...
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: Andy Ritger <aritger@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-22 16:43:12 +02:00
Zhiyi Zhang
8007d19c27
winevulkan: Fill Vulkan device LUID property.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-17 20:14:10 +02:00
Liam Middlebrook
7b1622d1ab
winevulkan: Update to VK spec version spec 1.2.134.
...
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: Piers Daniell <pdaniell@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-23 12:13:18 +01:00
Brendan Shanks
1e41a38c3b
vulkan-1: Set FILEVERSION to fix official Vulkan loader installer.
...
Red Dead Redemption 2 requires and installs the official Vulkan loader,
but the installer requires vulkan-1.dll's FILEVERSION to be lower than what
it's installing.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-23 12:10:38 +01:00
Liam Middlebrook
936d28e2c5
winevulkan: Handle bitmask pointers for spec generation.
...
Fixes a bug where pointer types for the following functions would be marked as long:
vkGetDeviceGroupPeerMemoryFeatures
vkGetDeviceGroupSurfacePresentModesKHR
vkGetPhysicalDeviceSurfacePresentModesKHR
Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: James Jones <jajones@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 09:25:47 +01:00
Zhiyi Zhang
95d267369a
vulkan-1/tests: Fix some test failures.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 20:55:50 +01:00
Alexandre Julliard
a6a0c82c59
vulkan-1: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 08:46:32 +02:00
Józef Kucia
8692cf6e59
winevulkan: Implement VK_KHR_external_semaphore_capabilities.
...
We don't support any handle type yet.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 20:16:54 +01:00
Józef Kucia
76d2746306
winevulkan: Implement VK_KHR_external_memory_capabilities.
...
We don't support any handle type yet.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 20:16:50 +01:00
Józef Kucia
57bb5cce75
winevulkan: Implement VK_KHR_external_fence_capabilities.
...
We don't support any handle type yet.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 20:16:47 +01:00
Józef Kucia
3e4189e3ad
winevulkan: Update vk.xml to 1.1.104.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:13 +01:00
Zhiyi Zhang
ee61493d9c
vulkan-1/tests: Add tests for vkGetPhysicalDeviceProperties2.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-20 15:34:01 +01:00
Józef Kucia
3d3c92ed5f
vulkan-1/tests: Add test for unsupported device extensions.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-10 22:35:33 +02:00
Józef Kucia
931299bd33
vulkan-1/tests: Add test for unsupported instance extensions.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-10 22:35:30 +02:00
Józef Kucia
29d49fb8a3
vulkan-1/tests: Add a test for destroying a command pool.
...
The Vulkan spec says:
"When a pool is destroyed, all command buffers allocated from the pool
are implicitly freed and become invalid. Command buffers allocated
from a given pool do not need to be freed before destroying that
command pool."
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-30 19:55:24 +02:00
Józef Kucia
adeeb0dc21
vulkan-1/tests: Enumerate queue families.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 17:39:56 +02:00
Roderick Colenbrander
d1d9d5495d
winevulkan: Implement vkGetDeviceQueue2.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Józef Kucia
1354e3535a
vulkan-1: Forward all functions directly to winevulkan.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 17:20:43 +02:00
Józef Kucia
a45b04273f
winevulkan: Implement vkEnumerateInstanceVersion().
...
The current version of Vulkan Loader returns VK_API_VERSION_1_1.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 17:20:43 +02:00
Józef Kucia
fae218310c
winevulkan: Implement VK_KHR_device_group.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 17:20:43 +02:00
Józef Kucia
960e52e12f
winevulkan: Add driver functions for VK_KHR_device_group.
...
In order to unwrap VkSurface.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 17:20:43 +02:00
Józef Kucia
74215f7e29
vulkan-1/tests: Add test for VK_KHR_device_group_creation.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Józef Kucia
d36ecbe8df
vulkan-1/tests: Introduce for_each_device() helper.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Józef Kucia
b27b3aeaf6
winevulkan: Implement VK_KHR_device_group_creation.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Józef Kucia
6a2b92a15a
winevulkan: Generate code for supported core commands.
...
Generate thunks for core commands if command aliases are already
supported.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:54 +02:00
Józef Kucia
4a332a7692
vulkan-1/tests: Add tests.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-21 14:20:57 +02:00
Józef Kucia
dbb0c9305a
winevulkan: Correctly recognize commands belonging to multiple extensions.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 16:48:17 +02:00
Józef Kucia
a333c2ef07
winevulkan: Add copyright headers to files generated from vk.xml.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 16:14:58 +02:00
Roderick Colenbrander
e4164e2b87
winevulkan: Update vk.xml to 1.1.76.
...
Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 16:14:52 +02:00
Józef Kucia
6380d57c69
winevulkan: Support VK_NO_PROTOTYPES in our Vulkan header.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-03 22:00:29 +02:00
Roderick Colenbrander
3a6c724e90
vulkan-1: Implement vkGetInstanceProcAddr.
...
Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 17:32:07 +02:00
Roderick Colenbrander
6ba422b3dc
vulkan-1: Implement vkEnumerateInstanceExtensionProperties.
...
Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 17:32:04 +02:00
Roderick Colenbrander
f0f232ebd1
vulkan-1: Add initial implementation.
...
Signed-off-by: Roderick Colenbrander <thunderbird2k@gmail.com>
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 17:23:55 +02:00