# HG changeset patch # User sam # Date 1711384396 -25200 # Node ID 36614dd177a0ed73810827d91af1244ed8ecc850 # Parent 4b7914fa615fb8bc1c1e8ffaa24b25ee72ebb21b del: unnecesary device feature (included in Vulkan 1.2) diff -r 4b7914fa615f -r 36614dd177a0 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(