Mercurial > games > semicongine
diff src/vulkan.nim @ 1:bb2a7d3a7003
add: more steps in setup
author | Sam <sam@basx.dev> |
---|---|
date | Fri, 16 Dec 2022 00:05:41 +0700 |
parents | 5daf3f236d87 |
children | 213fdf8d31dd |
line wrap: on
line diff
--- a/src/vulkan.nim Wed Dec 14 00:49:35 2022 +0700 +++ b/src/vulkan.nim Fri Dec 16 00:05:41 2022 +0700 @@ -47,6 +47,7 @@ ANativeWindow = ptr object CAMetalLayer = ptr object AHardwareBuffer = ptr object + VkBool32* = distinct uint32 # Enums const @@ -63,8 +64,8 @@ VK_REMAINING_ARRAY_LAYERS* = (not 0'u32) VK_WHOLE_SIZE* = (not 0'u64) VK_ATTACHMENT_UNUSED* = (not 0'u32) - VK_TRUE* = 1 - VK_FALSE* = 0 + VK_TRUE* = VkBool32(1) + VK_FALSE* = VkBool32(0) VK_QUEUE_FAMILY_IGNORED* = (not 0'u32) VK_QUEUE_FAMILY_EXTERNAL* = (not 0'u32) - 1 VK_QUEUE_FAMILY_EXTERNAL_KHR* = VK_QUEUE_FAMILY_EXTERNAL @@ -1226,7 +1227,6 @@ type VkSampleMask* = distinct uint32 - VkBool32* = distinct uint32 VkFlags* = distinct uint32 VkDeviceSize* = distinct uint64 VkDeviceAddress* = distinct uint64