Lines Matching refs:setup_cmd
200 VkCommandBuffer setup_cmd; // Command Buffer for initialization commands
291 if (demo->setup_cmd == VK_NULL_HANDLE)
294 err = vkEndCommandBuffer(demo->setup_cmd);
297 const VkCommandBuffer cmd_bufs[] = {demo->setup_cmd};
316 demo->setup_cmd = VK_NULL_HANDLE;
327 if (demo->setup_cmd == VK_NULL_HANDLE) {
336 err = vkAllocateCommandBuffers(demo->device, &cmd, &demo->setup_cmd);
345 err = vkBeginCommandBuffer(demo->setup_cmd, &cmd_buf_info);
385 vkCmdPipelineBarrier(demo->setup_cmd, src_stages, dest_stages, 0, 0, NULL,
965 demo->setup_cmd, staging_texture.image,
2030 if (demo->setup_cmd) {
2031 vkFreeCommandBuffers(demo->device, demo->cmd_pool, 1, &demo->setup_cmd);
2089 if (demo->setup_cmd) {
2090 vkFreeCommandBuffers(demo->device, demo->cmd_pool, 1, &demo->setup_cmd);
2091 demo->setup_cmd = VK_NULL_HANDLE;