Lines Matching refs:result
404 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
405 while (result == VK_ERROR_OUT_OF_HOST_MEMORY && fail_index <= 10000) {
410 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
411 if (result == VK_SUCCESS) {
449 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
450 while (result == VK_ERROR_OUT_OF_HOST_MEMORY && fail_index <= 10000) {
455 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
456 if (result == VK_SUCCESS) {
479 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
480 while (result == VK_ERROR_OUT_OF_HOST_MEMORY && fail_index <= 10000) {
486 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
487 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
494 result = create_surface(&env.vulkan_functions, instance, surface);
495 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
531 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
532 while (result == VK_ERROR_OUT_OF_HOST_MEMORY && fail_index <= 10000) {
537 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
538 if (result == VK_SUCCESS) {
567 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
568 while (result == VK_ERROR_OUT_OF_HOST_MEMORY && fail_index <= 10000) {
574 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
575 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
582 result = create_surface(&env.vulkan_functions, instance, surface);
583 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
613 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
614 while (result == VK_ERROR_OUT_OF_HOST_MEMORY && fail_index <= 10000) {
619 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
620 if (result == VK_SUCCESS) {
675 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
676 while (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
683 result = inst->vkCreateDevice(physical_devices[0], dev_create_info.get(), tracker.get(), &device);
684 if (result == VK_SUCCESS || fail_index > 10000) {
753 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
754 while (result == VK_ERROR_OUT_OF_HOST_MEMORY && fail_index <= 10000) {
762 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
763 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
767 ASSERT_EQ(result, VK_SUCCESS);
770 result = env.vulkan_functions.vkEnumeratePhysicalDevices(instance, &returned_physical_count, nullptr);
771 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
776 ASSERT_EQ(result, VK_SUCCESS);
781 result = env.vulkan_functions.vkEnumeratePhysicalDevices(instance, &returned_physical_count, physical_devices.data());
782 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
787 ASSERT_EQ(result, VK_SUCCESS);
806 result = env.vulkan_functions.vkCreateDevice(physical_devices.at(i), dev_create_info.get(), tracker.get(), &device);
807 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
810 ASSERT_EQ(result, VK_SUCCESS);
840 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
841 while (result == VK_ERROR_OUT_OF_HOST_MEMORY && fail_index <= 10000) {
846 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
847 if (result == VK_SUCCESS) {
850 ASSERT_NE(result, VK_ERROR_INCOMPATIBLE_DRIVER);
876 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
886 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
887 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
893 result = env.vulkan_functions.vkEnumeratePhysicalDevices(instance, &returned_physical_count, nullptr);
894 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
908 result = env.vulkan_functions.vkEnumeratePhysicalDevices(instance, &returned_physical_count, physical_devices.data());
909 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
914 if (result == VK_INCOMPLETE) {
915 result = env.vulkan_functions.vkEnumeratePhysicalDevices(instance, &returned_physical_count, nullptr);
916 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
922 result = env.vulkan_functions.vkEnumeratePhysicalDevices(instance, &returned_physical_count, physical_devices.data());
923 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
948 result = env.vulkan_functions.vkCreateDevice(physical_devices[i], dev_create_info.get(), tracker.get(), &devices[i]);
951 if (result == VK_SUCCESS) {
956 if (result == VK_SUCCESS) {
998 VkResult result = VK_ERROR_OUT_OF_HOST_MEMORY;
999 while (result == VK_ERROR_OUT_OF_HOST_MEMORY && fail_index <= 10000) {
1005 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance);
1006 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {
1013 result = env.vulkan_functions.vkEnumeratePhysicalDevices(instance, &returned_physical_count, nullptr);
1014 if (result == VK_ERROR_OUT_OF_HOST_MEMORY || result == VK_INCOMPLETE) {
1022 result = env.vulkan_functions.vkEnumeratePhysicalDevices(instance, &returned_physical_count, physical_devices.data());
1023 if (result == VK_ERROR_OUT_OF_HOST_MEMORY || result == VK_INCOMPLETE) {
1047 result = env.vulkan_functions.vkCreateDevice(physical_devices[i], dev_create_info.get(), tracker.get(), &devices[i]);
1048 if (result == VK_ERROR_OUT_OF_HOST_MEMORY) {