Explorar el Código

vulkan_common: unsuffix timeline semaphore feature test structure

Liam hace 3 años
padre
commit
bbc1809951
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/video_core/vulkan_common/vulkan_device.cpp

+ 2 - 2
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;
     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,
         .timelineSemaphore = true,
     };