Lines Matching defs:result
34 VkResult result = VKSCR(ResetCommandPool)(screen->dev, bs->cmdpool, 0);
35 if (result != VK_SUCCESS)
36 mesa_loge("ZINK: vkResetCommandPool failed (%s)", vk_Result_to_str(result));
200 VkResult result = VKSCR(CreateCommandPool)(screen->dev, &cpci, NULL, &bs->cmdpool);
201 if (result != VK_SUCCESS) {
202 mesa_loge("ZINK: vkCreateCommandPool failed (%s)", vk_Result_to_str(result));
212 result = VKSCR(AllocateCommandBuffers)(screen->dev, &cbai, &bs->cmdbuf);
213 if (result != VK_SUCCESS) {
214 mesa_loge("ZINK: vkAllocateCommandBuffers failed (%s)", vk_Result_to_str(result));
218 result = VKSCR(AllocateCommandBuffers)(screen->dev, &cbai, &bs->barrier_cmdbuf);
219 if (result != VK_SUCCESS) {
220 mesa_loge("ZINK: vkAllocateCommandBuffers failed (%s)", vk_Result_to_str(result));
323 VkResult result = VKCTX(BeginCommandBuffer)(batch->state->cmdbuf, &cbbi);
324 if (result != VK_SUCCESS)
325 mesa_loge("ZINK: vkBeginCommandBuffer failed (%s)", vk_Result_to_str(result));
327 result = VKCTX(BeginCommandBuffer)(batch->state->barrier_cmdbuf, &cbbi);
328 if (result != VK_SUCCESS)
329 mesa_loge("ZINK: vkBeginCommandBuffer failed (%s)", vk_Result_to_str(result));
415 VkResult result = VKSCR(EndCommandBuffer)(bs->cmdbuf);
416 if (result != VK_SUCCESS) {
417 mesa_loge("ZINK: vkEndCommandBuffer failed (%s)", vk_Result_to_str(result));
422 result = VKSCR(EndCommandBuffer)(bs->barrier_cmdbuf);
423 if (result != VK_SUCCESS) {
424 mesa_loge("ZINK: vkEndCommandBuffer failed (%s)", vk_Result_to_str(result));
434 result = VKSCR(FlushMappedMemoryRanges)(screen->dev, 1, &range);
435 if (result != VK_SUCCESS) {
436 mesa_loge("ZINK: vkFlushMappedMemoryRanges failed (%s)", vk_Result_to_str(result));
441 result = VKSCR(QueueSubmit)(screen->queue, num_si, num_si == 2 ? si : &si[1], VK_NULL_HANDLE);
442 if (result != VK_SUCCESS) {
443 mesa_loge("ZINK: vkQueueSubmit failed (%s)", vk_Result_to_str(result));