fixing bugs

This commit is contained in:
Kbz-8
2024-09-20 21:43:23 +02:00
parent 8dd6def84d
commit 3f065bc77e
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);