[Mesa-dev] [PATCH crucible 1/3] Allow multiple devices.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Sat Feb 24 01:29:28 UTC 2018


From: Bas Nieuwenhuizen <basni at chromium.org>

Ideally we would be able to choose the device of course, but at least
allowing tests to run is a good start.
---
 src/qonos/qonos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qonos/qonos.c b/src/qonos/qonos.c
index a1c7307..4f0236c 100644
--- a/src/qonos/qonos.c
+++ b/src/qonos/qonos.c
@@ -31,7 +31,7 @@ qoEnumeratePhysicalDevices(VkInstance instance, uint32_t *count,
     VkResult result;
 
     result = vkEnumeratePhysicalDevices(instance, count, physical_devices);
-    t_assert(result == VK_SUCCESS);
+    t_assert(result == VK_SUCCESS || result == VK_INCOMPLETE);
 }
 
 void
-- 
2.16.1



More information about the mesa-dev mailing list