Skip to content

Conversation

@SaschaWillems
Copy link
Collaborator

This PR improves the images chapter by

  • Adding explanations for important topics like staging and used flags
  • Adding a note on linear tiled images
  • Improving wording in several places
  • Using Vulkan-hpp enums
  • Adjusting code snippets to be in line with what's actually used in the C++ files

Fixes #231

Use Vulkan-hpp enums, add explanations for important topics like staging, add notes in linear images improve wording, adjust code to be in line with what's actually used in the C++ files
@SaschaWillems SaschaWillems added the documentation Improvements or additions to documentation label Dec 6, 2025
@SaschaWillems
Copy link
Collaborator Author

Can this be reviewed? Would like to see this merged.

Copy link
Contributor

@gpx1000 gpx1000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, very minor typo, but other than that, good to merge.

There is actually a special type of image layout that supports all operations, `VK_IMAGE_LAYOUT_GENERAL`.
The problem with it, of course, is that it doesn't necessarily offer the best performance for any operation.
There is actually a special type of image layout that supports all operations, `vk::ImageLayout::eGeneral`.
But unless using certain extensions, which we don't do in the tutorial, using the general layout might come with a performance penalty is it may disable certain optimizations on some GPUs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

penalty is -> penalty as. I didn't see any problems. this just caught my eye.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove use of linear tiled images

3 participants