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>
This commit is contained in:
parent
659f6fe32a
commit
2fec470ade
|
@ -1,4 +1,3 @@
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
|
||||||
TESTDLL = vulkan-1.dll
|
TESTDLL = vulkan-1.dll
|
||||||
IMPORTS = vulkan-1
|
IMPORTS = vulkan-1
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,7 @@ static void test_enumerate_physical_device2(void)
|
||||||
|
|
||||||
pfn_vkGetPhysicalDeviceProperties2(vk_physical_devices[j], &properties2);
|
pfn_vkGetPhysicalDeviceProperties2(vk_physical_devices[j], &properties2);
|
||||||
luid = (const LUID *)id.deviceLUID;
|
luid = (const LUID *)id.deviceLUID;
|
||||||
trace("Device '%s', device UUID: %s, driver UUID: %s, device LUID: %08x:%08x.\n",
|
trace("Device '%s', device UUID: %s, driver UUID: %s, device LUID: %08lx:%08lx.\n",
|
||||||
properties2.properties.deviceName, wine_dbgstr_guid((const GUID *)id.deviceUUID),
|
properties2.properties.deviceName, wine_dbgstr_guid((const GUID *)id.deviceUUID),
|
||||||
wine_dbgstr_guid((const GUID *)id.driverUUID), luid->HighPart, luid->LowPart);
|
wine_dbgstr_guid((const GUID *)id.driverUUID), luid->HighPart, luid->LowPart);
|
||||||
ok(id.deviceLUIDValid == VK_TRUE, "Expected valid device LUID.\n");
|
ok(id.deviceLUIDValid == VK_TRUE, "Expected valid device LUID.\n");
|
||||||
|
@ -584,7 +584,7 @@ static void test_cross_process_resource(VkPhysicalDeviceIDPropertiesKHR *device_
|
||||||
sprintf(buf, "\"%s\" vulkan resource %s %s %s %p", argv[0], driver_uuid, device_uuid,
|
sprintf(buf, "\"%s\" vulkan resource %s %s %s %p", argv[0], driver_uuid, device_uuid,
|
||||||
kmt ? "kmt" : "nt", handle);
|
kmt ? "kmt" : "nt", handle);
|
||||||
res = CreateProcessA(NULL, buf, NULL, NULL, TRUE, 0L, NULL, NULL, &si, &info);
|
res = CreateProcessA(NULL, buf, NULL, NULL, TRUE, 0L, NULL, NULL, &si, &info);
|
||||||
ok(res, "CreateProcess failed: %u\n", GetLastError());
|
ok(res, "CreateProcess failed: %lu\n", GetLastError());
|
||||||
CloseHandle(info.hThread);
|
CloseHandle(info.hThread);
|
||||||
|
|
||||||
wait_child_process(info.hProcess);
|
wait_child_process(info.hProcess);
|
||||||
|
|
Loading…
Reference in New Issue