Basic commandbuffer implementation
This commit is contained in:
@@ -143,7 +143,7 @@ void BasePass::render()
|
||||
command->bindDescriptor(descriptorSets);
|
||||
if (graphics->supportMeshShading())
|
||||
{
|
||||
command->dispatch(instance.meshes.size(), 1, 1);
|
||||
command->drawMesh(instance.meshes.size(), 1, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -111,7 +111,7 @@ void DepthPrepass::render()
|
||||
command->bindDescriptor(descriptorSets);
|
||||
if (graphics->supportMeshShading())
|
||||
{
|
||||
command->dispatch(instance.meshes.size(), 1, 1);
|
||||
command->drawMesh(instance.meshes.size(), 1, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user