Support base instance parameter on Vulkan's DrawInstanced command
This commit is contained in:
parent
c732a86df8
commit
2f30a9e18e
1 changed files with 1 additions and 1 deletions
|
@ -1479,7 +1479,7 @@ void GFXVulkan::submit(GFXCommandBuffer* command_buffer, const platform::window_
|
|||
case GFXCommandType::DrawIndexed:
|
||||
{
|
||||
if(try_bind_descriptor()) {
|
||||
vkCmdDrawIndexed(cmd, command.data.draw_indexed.index_count, 1, command.data.draw_indexed.first_index, command.data.draw_indexed.vertex_offset, 0);
|
||||
vkCmdDrawIndexed(cmd, command.data.draw_indexed.index_count, 1, command.data.draw_indexed.first_index, command.data.draw_indexed.vertex_offset, command.data.draw_indexed.base_instance);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Reference in a new issue