We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Chapter 3 Draw geometry begins with the following code (attaching using VK_IMAGE_LAYOUT_GENERAL):
void VulkanEngine::draw_geometry(VkCommandBuffer cmd) { //begin a render pass connected to our draw image VkRenderingAttachmentInfo colorAttachment = vkinit::attachment_info(_drawImage.imageView, nullptr, VK_IMAGE_LAYOUT_GENERAL);
However we just transitioned to VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL. Surely that's the argument required to attachment_info.
vkutil::transition_image(cmd, _drawImage.image, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL); draw_geometry(cmd);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In Chapter 3 Draw geometry begins with the following code (attaching using VK_IMAGE_LAYOUT_GENERAL):
However we just transitioned to VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL. Surely that's the argument required to attachment_info.
The text was updated successfully, but these errors were encountered: