Browse Source

vulkan_common: unsuffix timeline semaphore feature test structure

nce_cpp
Liam 3 years ago
parent
commit
d2299ce7d8
  1. 4
      src/video_core/vulkan_common/vulkan_device.cpp

4
src/video_core/vulkan_common/vulkan_device.cpp

@ -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{
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES_KHR,
VkPhysicalDeviceTimelineSemaphoreFeatures timeline_semaphore{
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES,
.pNext = nullptr, .pNext = nullptr,
.timelineSemaphore = true, .timelineSemaphore = true,
}; };

Loading…
Cancel
Save