fixing bugs

This commit is contained in:
2024-09-20 21:43:23 +02:00
parent f9c05d6d7b
commit 2e08c37624
3 changed files with 4 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ namespace mlx
default : FatalError("wtf"); break;
}
m_module = kvfCreateShaderModule(RenderCore::Get().GetDevice(), reinterpret_cast<std::uint32_t*>(m_bytecode.data()), m_bytecode.size() * 4);
m_module = kvfCreateShaderModule(RenderCore::Get().GetDevice(), reinterpret_cast<std::uint32_t*>(m_bytecode.data()), m_bytecode.size() / 4);
DebugLog("Vulkan : shader module created");
GeneratePipelineLayout(m_layout);