Properly enable synchronization2 feature

This commit is contained in:
kd-11 2023-06-26 20:45:43 +03:00 committed by kd-11
parent 5a85fee3f1
commit 322b5dac79

View file

@ -681,6 +681,7 @@ namespace vk
{
synchronization2_info.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES;
synchronization2_info.pNext = const_cast<void*>(device.pNext);
synchronization2_info.synchronization2 = VK_TRUE;
device.pNext = &synchronization2_info;
}