Skip to content

Enable synchronization2 in the triangle chapters - #518

Closed
M4cM4rco wants to merge 2 commits into
KhronosGroup:mainfrom
M4cM4rco:main
Closed

M4cM4rco wants to merge 2 commits into
KhronosGroup:mainfrom
M4cM4rco:main

Conversation

@M4cM4rco

Copy link
Copy Markdown

The transition_image_layout helper introduced in "Command buffers" calls commandBuffer.pipelineBarrier2(), but synchronization2 is neither checked in supportsRequiredFeatures nor requested in the feature chain in createLogicalDevice. Following the tutorial linearly produces:

  • vkCmdPipelineBarrier2(): the synchronization2 feature was not enabled.
  • VUID-vkCmdPipelineBarrier2-synchronization2-03848

The feature does appear in later chapters, it is just never introduced in the text. This PR makes the earlier chapters consistent. Also raised as part of #177.

@CLAassistant

CLAassistant commented Sep 17, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@SaschaWillems

Copy link
Copy Markdown
Collaborator

This looks almost identical to #442

@M4cM4rco

Copy link
Copy Markdown
Author

You're right, #442 covers the same thing. Sorry for the noise. Sorry for the noise. Closing as a duplicate.
Br

@M4cM4rco M4cM4rco closed this Sep 18, 2026
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.

3 participants