From: Giovanni Mascellani Subject: [PATCH vkd3d] tests/vkd3d_api: Ignore llvmpipe device for testing. Message-Id: <20210819151525.2324756-1-gmascellani@codeweavers.com> Date: Thu, 19 Aug 2021 17:15:25 +0200 Creating a D3D12 device backed by a llvmpipe physical device fails because llvmpipe doesn't implement some required extensions. This is not a failure in vkd3d. --- tests/vkd3d_api.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/vkd3d_api.c b/tests/vkd3d_api.c index 8195c067..c32fc465 100644 --- a/tests/vkd3d_api.c +++ b/tests/vkd3d_api.c @@ -553,6 +553,14 @@ static void test_physical_device(void) { for (i = 0; i < count; ++i) { + VkPhysicalDeviceProperties vk_physical_device_properties; + vkGetPhysicalDeviceProperties(vk_physical_devices[i], &vk_physical_device_properties); + if (strncmp(vk_physical_device_properties.deviceName, "llvmpipe", 8) == 0) + { + trace("Ignoring llvmpipe device.\n"); + continue; + } + trace("Creating device for Vulkan physical device %p.\n", vk_physical_devices[i]); create_info.vk_physical_device = vk_physical_devices[i]; -- 2.33.0