# HG changeset patch # User sam # Date 1711699823 -25200 # Node ID 7524deee1e8cf2e649459142a7f1f2b7a24ff89e # Parent e02d8e65d68e41dec382e37e76383687292f5a3e# Parent db22d7d99e6379478c71ec8cab00a9bb6c866ffc merge diff -r e02d8e65d68e -r 7524deee1e8c semicongine/vulkan/device.nim --- a/semicongine/vulkan/device.nim Fri Mar 29 15:08:33 2024 +0700 +++ b/semicongine/vulkan/device.nim Fri Mar 29 15:10:23 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(