Skip to content

Convert the texture mapping and mipmap barriers to synchronization2 - #539

Open
gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/508-transition-image-layout-sync2
Open

gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/508-transition-image-layout-sync2

Conversation

@gpx1000

@gpx1000 gpx1000 commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

(ImageMemoryBarrier2/pipelineBarrier2) in the chapters and attachments. Fixes #508.

…ImageMemoryBarrier2/pipelineBarrier2) in the chapters and attachments. Fixes KhronosGroup#508.
.dstQueueFamilyIndex = vk::QueueFamilyIgnored,
.image = image,
.subresourceRange = {.aspectMask = vk::ImageAspectFlagBits::eColor, .levelCount = 1, .layerCount = 1}};
vk::ImageMemoryBarrier2 barrier{.oldLayout = oldLayout,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is the same as then non-2 barrier. Shouldn't this include src/dst stage and access masks as the text below mentions?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use of old transitionImageLayout in later chapters

2 participants