Browse Source

vulkan_common: unsuffix 16-bit storage feature test structure

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

4
src/video_core/vulkan_common/vulkan_device.cpp

@ -406,8 +406,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
}; };
SetNext(next, timeline_semaphore); 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, .pNext = nullptr,
.storageBuffer16BitAccess = true, .storageBuffer16BitAccess = true,
.uniformAndStorageBuffer16BitAccess = true, .uniformAndStorageBuffer16BitAccess = true,

Loading…
Cancel
Save