• Home
  • Raw
  • Download

Lines Matching refs:cmd_buf

557 void VkImageObj::ImageMemoryBarrier(VkCommandBufferObj *cmd_buf, VkImageAspectFlags aspect, VkFlags…  in ImageMemoryBarrier()  argument
583 …vkCmdPipelineBarrier(cmd_buf->handle(), src_stages, dest_stages, 0, 0, NULL, 0, NULL, 1, pmemory_b… in ImageMemoryBarrier()
586 void VkImageObj::SetLayout(VkCommandBufferObj *cmd_buf, VkImageAspectFlags aspect, VkImageLayout im… in SetLayout() argument
648 ImageMemoryBarrier(cmd_buf, aspect, src_mask, dst_mask, image_layout); in SetLayout()
665 VkCommandBufferObj cmd_buf(m_device, pool.handle()); in SetLayout() local
668 err = cmd_buf.BeginCommandBuffer(); in SetLayout()
671 SetLayout(&cmd_buf, aspect, image_layout); in SetLayout()
673 err = cmd_buf.EndCommandBuffer(); in SetLayout()
676 cmd_buf.QueueCommandBuffer(); in SetLayout()
761 VkCommandBufferObj cmd_buf(m_device, pool.handle()); in CopyImage() local
764 err = cmd_buf.BeginCommandBuffer(); in CopyImage()
769 src_image.SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); in CopyImage()
772 this->SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); in CopyImage()
791 …vkCmdCopyImage(cmd_buf.handle(), src_image.handle(), src_image.layout(), handle(), layout(), 1, &c… in CopyImage()
793 src_image.SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, src_image_layout); in CopyImage()
795 this->SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, dest_image_layout); in CopyImage()
797 err = cmd_buf.EndCommandBuffer(); in CopyImage()
800 cmd_buf.QueueCommandBuffer(); in CopyImage()