Mercurial > games > semicongine
diff semiconginev2/rendering/shaders.nim @ 1253:c4f98eb4bb05
fix: a few things
author | sam <sam@basx.dev> |
---|---|
date | Fri, 26 Jul 2024 23:39:24 +0700 |
parents | 01e9f41d35b1 |
children | e9b8d87b9883 |
line wrap: on
line diff
--- a/semiconginev2/rendering/shaders.nim Fri Jul 26 23:04:01 2024 +0700 +++ b/semiconginev2/rendering/shaders.nim Fri Jul 26 23:39:24 2024 +0700 @@ -376,7 +376,7 @@ let pushConstant = VkPushConstantRange( stageFlags: VkShaderStageFlags(VK_SHADER_STAGE_ALL_GRAPHICS), offset: 0, - size: 128, # currently supported everywhere, places for two mat4 + size: PUSH_CONSTANT_SIZE, # currently supported everywhere, places for two mat4 ) let pipelineLayoutInfo = VkPipelineLayoutCreateInfo(