Mercurial > games > semicongine
comparison src/vulkan.nim @ 465:2fcb9268072b
did: refactor, add resizing, proper cleanup
author | Sam <sam@basx.dev> |
---|---|
date | Tue, 20 Dec 2022 00:28:05 +0700 |
parents | 91544fc1afe5 |
children | 4ed9cb098315 |
comparison
equal
deleted
inserted
replaced
464:7cae1900c9a7 | 465:2fcb9268072b |
---|---|
514 VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT = 1000128004 # added by sam | 514 VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT = 1000128004 # added by sam |
515 VkSubpassContents* {.size: int32.sizeof.} = enum | 515 VkSubpassContents* {.size: int32.sizeof.} = enum |
516 VK_SUBPASS_CONTENTS_INLINE = 0 | 516 VK_SUBPASS_CONTENTS_INLINE = 0 |
517 VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS = 1 | 517 VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS = 1 |
518 VkResult* {.size: int32.sizeof.} = enum | 518 VkResult* {.size: int32.sizeof.} = enum |
519 VK_ERROR_OUT_OF_DATE_KHR = -1000001004 # added by sam | |
519 VK_ERROR_UNKNOWN = -13 | 520 VK_ERROR_UNKNOWN = -13 |
520 VK_ERROR_FRAGMENTED_POOL = -12 | 521 VK_ERROR_FRAGMENTED_POOL = -12 |
521 VK_ERROR_FORMAT_NOT_SUPPORTED = -11 | 522 VK_ERROR_FORMAT_NOT_SUPPORTED = -11 |
522 VK_ERROR_TOO_MANY_OBJECTS = -10 | 523 VK_ERROR_TOO_MANY_OBJECTS = -10 |
523 VK_ERROR_INCOMPATIBLE_DRIVER = -9 | 524 VK_ERROR_INCOMPATIBLE_DRIVER = -9 |
533 VK_NOT_READY = 1 | 534 VK_NOT_READY = 1 |
534 VK_TIMEOUT = 2 | 535 VK_TIMEOUT = 2 |
535 VK_EVENT_SET = 3 | 536 VK_EVENT_SET = 3 |
536 VK_EVENT_RESET = 4 | 537 VK_EVENT_RESET = 4 |
537 VK_INCOMPLETE = 5 | 538 VK_INCOMPLETE = 5 |
539 VK_SUBOPTIMAL_KHR = 1000001003, # added by sam | |
538 VkDynamicState* {.size: int32.sizeof.} = enum | 540 VkDynamicState* {.size: int32.sizeof.} = enum |
539 VK_DYNAMIC_STATE_VIEWPORT = 0 | 541 VK_DYNAMIC_STATE_VIEWPORT = 0 |
540 VK_DYNAMIC_STATE_SCISSOR = 1 | 542 VK_DYNAMIC_STATE_SCISSOR = 1 |
541 VK_DYNAMIC_STATE_LINE_WIDTH = 2 | 543 VK_DYNAMIC_STATE_LINE_WIDTH = 2 |
542 VK_DYNAMIC_STATE_DEPTH_BIAS = 3 | 544 VK_DYNAMIC_STATE_DEPTH_BIAS = 3 |