Lines Matching refs:result

69    UNUSED VkResult result;
168 result = wsi_x11_init_wsi(wsi, alloc, dri_options);
169 if (result != VK_SUCCESS)
174 result = wsi_wl_init_wsi(wsi, alloc, pdevice);
175 if (result != VK_SUCCESS)
180 result = wsi_win32_init_wsi(wsi, alloc, pdevice);
181 if (result != VK_SUCCESS)
186 result = wsi_display_init_wsi(wsi, alloc, display_fd);
187 if (result != VK_SUCCESS)
224 return result;
278 VkResult result;
317 result = wsi->CreateCommandPool(_device, &cmd_pool_info, &chain->alloc,
319 if (result != VK_SUCCESS)
327 return result;
340 VkResult result;
342 result = iface->get_present_modes(surface, &present_mode_count, NULL);
343 if (result != VK_SUCCESS)
350 result = iface->get_present_modes(surface, &present_mode_count,
352 if (result != VK_SUCCESS)
530 VkResult result;
538 result = wsi->CreateImage(chain->device, &info->create,
540 if (result != VK_SUCCESS)
543 result = info->create_mem(chain, info, image);
544 if (result != VK_SUCCESS)
547 result = wsi->BindImageMemory(chain->device, image->image,
549 if (result != VK_SUCCESS)
553 result = info->finish_create(chain, info, image);
554 if (result != VK_SUCCESS)
562 return result;
628 VkResult result = iface->get_capabilities2(surface, wsi_device, NULL, &caps2);
630 if (result == VK_SUCCESS)
633 return result;
676 VkResult result = iface->get_capabilities2(surface, wsi_device, NULL, &caps2);
678 if (result == VK_SUCCESS) {
695 return result;
776 VkResult result = iface->create_swapchain(surface, _device, wsi_device,
779 if (result != VK_SUCCESS)
780 return result;
900 VkResult result = wsi_create_sync_for_dma_buf_wait(chain, image,
903 if (result != VK_ERROR_FEATURE_NOT_PRESENT)
904 return result;
932 VkResult result = wsi_create_sync_for_dma_buf_wait(chain, image,
935 if (result != VK_ERROR_FEATURE_NOT_PRESENT)
936 return result;
959 VkResult result = swapchain->acquire_next_image(swapchain, pAcquireInfo,
961 if (result != VK_SUCCESS && result != VK_SUBOPTIMAL_KHR)
962 return result;
985 return result;
1019 VkResult result;
1027 result = wsi->CreateFence(device, &fence_info,
1030 if (result != VK_SUCCESS)
1039 result = wsi->CreateSemaphore(device, &sem_info,
1042 if (result != VK_SUCCESS)
1046 result =
1049 if (result != VK_SUCCESS)
1053 result = wsi->ResetFences(device, 1, &swapchain->fences[image_index]);
1054 if (result != VK_SUCCESS)
1089 result = wsi->QueueSubmit(queue, 1, &submit_info, VK_NULL_HANDLE);
1090 if (result != VK_SUCCESS)
1111 result = wsi_prepare_signal_dma_buf_from_semaphore(swapchain, image);
1112 if (result == VK_SUCCESS) {
1117 } else if (result == VK_ERROR_FEATURE_NOT_PRESENT) {
1118 result = VK_SUCCESS;
1130 result = VK_SUCCESS;
1139 result = wsi->QueueSubmit(submit_queue, 1, &submit_info, fence);
1140 if (result != VK_SUCCESS)
1145 result = wsi_signal_dma_buf_from_semaphore(swapchain, image);
1146 if (result != VK_SUCCESS)
1161 result = swapchain->queue_present(swapchain, image_index, region);
1162 if (result != VK_SUCCESS && result != VK_SUBOPTIMAL_KHR)
1172 pPresentInfo->pResults[i] = result;
1174 /* Let the final result be our first unsuccessful result */
1176 final_result = result;
1344 VkResult result;
1358 result = wsi->CreateBuffer(chain->device, &buffer_info,
1360 if (result != VK_SUCCESS)
1361 return result;
1407 result = wsi->AllocateMemory(chain->device, &buf_mem_info,
1409 if (result != VK_SUCCESS)
1410 return result;
1412 result = wsi->BindBufferMemory(chain->device, image->buffer.buffer,
1414 if (result != VK_SUCCESS)
1415 return result;
1433 result = wsi->AllocateMemory(chain->device, &memory_info,
1435 if (result != VK_SUCCESS)
1436 return result;
1452 VkResult result;
1471 result = wsi->AllocateCommandBuffers(chain->device, &cmd_buffer_info,
1473 if (result != VK_SUCCESS)
1474 return result;
1539 result = wsi->EndCommandBuffer(image->buffer.blit_cmd_buffers[i]);
1540 if (result != VK_SUCCESS)
1541 return result;
1558 VkResult result = wsi_configure_image(chain, pCreateInfo,
1560 if (result != VK_SUCCESS)
1561 return result;
1591 VkResult result;
1632 result = wsi->AllocateMemory(chain->device, &memory_info,
1634 if (result != VK_SUCCESS)
1635 return result;
1637 result = wsi->MapMemory(chain->device, image->memory,
1639 if (result != VK_SUCCESS)
1640 return result;
1655 VkResult result;
1657 result = wsi_create_buffer_image_mem(chain, info, image, 0,
1659 if (result != VK_SUCCESS)
1660 return result;
1662 result = chain->wsi->MapMemory(chain->device, image->buffer.memory,
1664 if (result != VK_SUCCESS)
1665 return result;
1681 VkResult result = wsi_configure_buffer_image(chain, pCreateInfo,
1685 if (result != VK_SUCCESS)
1686 return result;
1692 VkResult result = wsi_configure_image(chain, pCreateInfo,
1694 if (result != VK_SUCCESS)
1695 return result;