Skip to content

Commit 97cde86

Browse files
authored
Enable synchronization2 in feature chain
otherwise an error is reported
1 parent eb7e6e9 commit 97cde86

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

en/03_Drawing_a_triangle/00_Setup/04_Logical_device_and_queues.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ The C++ Vulkan API provides a helper template called `vk::StructureChain` that m
9595
// Create a chain of feature structures
9696
vk::StructureChain<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceVulkan13Features, vk::PhysicalDeviceExtendedDynamicStateFeaturesEXT> featureChain = {
9797
{}, // vk::PhysicalDeviceFeatures2 (empty for now)
98-
{.dynamicRendering = true }, // Enable dynamic rendering from Vulkan 1.3
98+
{
99+
.synchronization2 = true,
100+
.dynamicRendering = true }, // Enable dynamic rendering from Vulkan 1.3
99101
{.extendedDynamicState = true } // Enable extended dynamic state from the extension
100102
};
101103
----

0 commit comments

Comments
 (0)