Mercurial > games > semicongine
diff src/vulkan.nim @ 4:af9183acb173
did: refactor, add resizing, proper cleanup
author | Sam <sam@basx.dev> |
---|---|
date | Tue, 20 Dec 2022 00:28:05 +0700 |
parents | 213fdf8d31dd |
children | 4ed9cb098315 |
line wrap: on
line diff
--- a/src/vulkan.nim Mon Dec 19 10:56:04 2022 +0700 +++ b/src/vulkan.nim Tue Dec 20 00:28:05 2022 +0700 @@ -516,6 +516,7 @@ VK_SUBPASS_CONTENTS_INLINE = 0 VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS = 1 VkResult* {.size: int32.sizeof.} = enum + VK_ERROR_OUT_OF_DATE_KHR = -1000001004 # added by sam VK_ERROR_UNKNOWN = -13 VK_ERROR_FRAGMENTED_POOL = -12 VK_ERROR_FORMAT_NOT_SUPPORTED = -11 @@ -535,6 +536,7 @@ VK_EVENT_SET = 3 VK_EVENT_RESET = 4 VK_INCOMPLETE = 5 + VK_SUBOPTIMAL_KHR = 1000001003, # added by sam VkDynamicState* {.size: int32.sizeof.} = enum VK_DYNAMIC_STATE_VIEWPORT = 0 VK_DYNAMIC_STATE_SCISSOR = 1