vulkan_common: unsuffix timeline semaphore feature test structure

This commit is contained in:
Liam 2022-12-02 17:23:43 -05:00
parent a9633ba8b2
commit bbc1809951
1 changed files with 2 additions and 2 deletions

View File

@ -399,8 +399,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
const void* first_next = &features2; const void* first_next = &features2;
void** next = &features2.pNext; void** next = &features2.pNext;
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR timeline_semaphore{ VkPhysicalDeviceTimelineSemaphoreFeatures timeline_semaphore{
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES_KHR, .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES,
.pNext = nullptr, .pNext = nullptr,
.timelineSemaphore = true, .timelineSemaphore = true,
}; };