Mercurial > games > semicongine
diff semiconginev2/rendering.nim @ 1253:c4f98eb4bb05
fix: a few things
author | sam <sam@basx.dev> |
---|---|
date | Fri, 26 Jul 2024 23:39:24 +0700 |
parents | 01e9f41d35b1 |
children | bfb75c934f4e |
line wrap: on
line diff
--- a/semiconginev2/rendering.nim Fri Jul 26 23:04:01 2024 +0700 +++ b/semiconginev2/rendering.nim Fri Jul 26 23:39:24 2024 +0700 @@ -14,6 +14,7 @@ const MAX_DESCRIPTORSETS = 4 const SURFACE_FORMAT* = VK_FORMAT_B8G8R8A8_SRGB const DEPTH_FORMAT* = VK_FORMAT_D32_SFLOAT +const PUSH_CONSTANT_SIZE = 128 # custom pragmas to classify shader attributes template VertexAttribute* {.pragma.}