fix shader and connection

This commit is contained in:
Patrick Nicolas
2022-11-13 14:35:53 +01:00
committed by Guillaume Meunier
parent 0195389c8b
commit 8b1f662b65
2 changed files with 6 additions and 13 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ static VkResult shader_load(struct vk_bundle * vk, const std::vector<uint32_t> &
VkShaderModuleCreateInfo info{};
info.sType = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO;
info.codeSize = code.size();
info.codeSize = code.size() * sizeof(uint32_t);
info.pCode = code.data();
VkShaderModule module;