Lines Matching refs:result

112    VkResult result;
119 result = wsi_dma_buf_export_sync_file(image->dma_buf_fd, &sync_file_fd);
120 if (result != VK_SUCCESS)
121 return result;
123 result = wsi_dma_buf_import_sync_file(image->dma_buf_fd, sync_file_fd);
125 if (result != VK_SUCCESS)
126 return result;
137 result = chain->wsi->CreateSemaphore(chain->device, &semaphore_info,
140 if (result != VK_SUCCESS)
141 return result;
150 VkResult result;
152 /* We cache result - 1 in the swapchain */
154 result = prepare_signal_dma_buf_from_semaphore(chain, image);
155 assert(result <= 0);
156 chain->signal_dma_buf_from_semaphore = (int)result - 1;
158 result = (VkResult)(chain->signal_dma_buf_from_semaphore + 1);
161 return result;
168 VkResult result;
176 result = chain->wsi->GetSemaphoreFdKHR(chain->device, &get_fd_info,
178 if (result != VK_SUCCESS)
179 return result;
181 result = wsi_dma_buf_import_sync_file(image->dma_buf_fd, sync_file_fd);
183 return result;
209 VkResult result;
217 result = wsi_dma_buf_export_sync_file(image->dma_buf_fd, &sync_file_fd);
218 if (result != VK_SUCCESS)
219 return result;
222 result = vk_sync_create(device, sync_type, VK_SYNC_IS_SHAREABLE, 0, &sync);
223 if (result != VK_SUCCESS)
226 result = vk_sync_import_sync_file(device, sync, sync_file_fd);
227 if (result != VK_SUCCESS)
240 return result;
259 bool result = drmDevicesEqual(device_a, device_b);
264 return result;
333 VkResult result = wsi_configure_image(chain, pCreateInfo, handle_type, info);
334 if (result != VK_SUCCESS)
335 return result;
400 result = wsi->GetPhysicalDeviceImageFormatProperties2(wsi->pdevice,
403 if (result == VK_SUCCESS &&
467 VkResult result;
495 result = wsi->AllocateMemory(chain->device, &memory_info,
497 if (result != VK_SUCCESS)
498 return result;
507 result = wsi->GetMemoryFdKHR(chain->device, &memory_get_fd_info,
509 if (result != VK_SUCCESS)
510 return result;
516 result = wsi->GetImageDrmFormatModifierPropertiesEXT(chain->device,
519 if (result != VK_SUCCESS)
520 return result;
570 VkResult result =
574 if (result != VK_SUCCESS)
575 return result;
583 result = wsi->GetMemoryFdKHR(chain->device, &linear_memory_get_fd_info,
585 if (result != VK_SUCCESS)
586 return result;
600 VkResult result =
604 if (result != VK_SUCCESS)
605 return result;