intel: Removed ICD validation checks from dev.c
authorMark Lobodzinski <mark@lunarg.com>
Thu, 17 Sep 2015 21:17:34 +0000 (15:17 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Wed, 23 Sep 2015 16:29:16 +0000 (10:29 -0600)
loader/loader.c

index 304a9d5a35b5c24cffb3f11b8f362519fc1d3c20..96b0120248daa1ad3a9c24559373c6f14490de8a 100644 (file)
@@ -2931,6 +2931,8 @@ VkResult VKAPI loader_CreateDevice(
     char **filtered_extension_names = NULL;
     VkResult res;
 
+    assert(pCreateInfo->queueRecordCount >= 1);
+
     if (!icd->CreateDevice) {
         return VK_ERROR_INITIALIZATION_FAILED;
     }