# HG changeset patch # User sam # Date 1711384396 -25200 # Node ID db22d7d99e6379478c71ec8cab00a9bb6c866ffc # Parent cdf7ad53965a8890608fbad65d9cb8854da50407 del: unnecesary device feature (included in Vulkan 1.2) diff -r cdf7ad53965a -r db22d7d99e63 semicongine/vulkan/device.nim --- a/semicongine/vulkan/device.nim Mon Mar 25 22:26:58 2024 +0700 +++ b/semicongine/vulkan/device.nim Mon Mar 25 23:33:16 2024 +0700 @@ -50,13 +50,8 @@ ) var queueList = deviceQueues.values.toSeq - var uniformBufferLayoutFeature = VkPhysicalDeviceUniformBufferStandardLayoutFeatures( - stype: VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES, - uniformBufferStandardLayout: true, - ) var features2 = VkPhysicalDeviceFeatures2( stype: VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, - pnext: addr uniformBufferLayoutFeature, features: result.enabledFeatures, ) var createInfo = VkDeviceCreateInfo(