Przeglądaj źródła

vulkan_common: unsuffix 16-bit storage feature test structure

Liam 3 lat temu
rodzic
commit
06a67d2bbd
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/video_core/vulkan_common/vulkan_device.cpp

+ 2 - 2
src/video_core/vulkan_common/vulkan_device.cpp

@@ -406,8 +406,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
     };
     SetNext(next, timeline_semaphore);
 
-    VkPhysicalDevice16BitStorageFeaturesKHR bit16_storage{
-        .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR,
+    VkPhysicalDevice16BitStorageFeatures bit16_storage{
+        .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES,
         .pNext = nullptr,
         .storageBuffer16BitAccess = true,
         .uniformAndStorageBuffer16BitAccess = true,