Lines Matching defs:result
48 VkResult result;
68 result = vn_CreateBuffer(dev_handle, &buf_create_info, alloc,
70 if (result != VK_SUCCESS)
80 result = VK_ERROR_INITIALIZATION_FAILED;
89 result = vn_AllocateMemory(dev_handle, &mem_alloc_info, alloc,
91 if (result != VK_SUCCESS)
100 result = vn_BindBufferMemory2(dev_handle, 1, &bind_info);
101 if (result != VK_SUCCESS)
104 result = vn_MapMemory(dev_handle, feedback_buf->memory, 0, VK_WHOLE_SIZE,
106 if (result != VK_SUCCESS)
122 return result;
143 VkResult result;
145 result = vn_feedback_buffer_create(pool->device, pool->size, pool->alloc,
147 if (result != VK_SUCCESS)
148 return result;
199 VkResult result = vn_feedback_pool_grow_locked(pool);
200 if (result != VK_SUCCESS)
339 VkResult result = vn_BeginCommandBuffer(cmd_handle, &begin_info);
340 if (result != VK_SUCCESS)
341 return result;
401 VkResult result;
404 result = vn_AllocateCommandBuffers(dev_handle, &info, &cmd_handle);
405 if (result != VK_SUCCESS)
408 result = vn_feedback_fence_cmd_record(cmd_handle, slot);
409 if (result != VK_SUCCESS) {
419 return result;
456 VkResult result;
459 result = vn_CreateCommandPool(dev_handle, &info, alloc, &pools[i].pool);
460 if (result != VK_SUCCESS) {
467 return result;