Reintroducing type parameters for vertex data

This commit is contained in:
Dynamitos committed 2025-04-11 09:54:09 +02:00
1 parent dd07aa25fa
commit 5a54530a48
10 files changed
+31 -18

No files matched your search

+2
View File
@@ -344,6 +344,8 @@ void RenderCommand::drawIndexed(uint32 indexCount, uint32 instanceCount, int32 f
}
void RenderCommand::drawMesh(uint32 groupX, uint32 groupY, uint32 groupZ) {
assert(threadId == std::this_thread::get_id());
if (groupX * groupY * groupZ == 0) // any dimension is 0
return;
vkCmdDrawMeshTasksEXT(handle, groupX, groupY, groupZ);
}