changeset 936:36614dd177a0

del: unnecesary device feature (included in Vulkan 1.2)
author sam <sam@basx.dev>
date Mon, 25 Mar 2024 23:33:16 +0700
parents 4b7914fa615f
children 5838b9ef52db
files semicongine/vulkan/device.nim
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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(