mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
vk: Implement vertexOffset parameter of vkCmdDrawIndexed()
As exposed by the func.draw_indexed test, we were ignoring the argument and hardcoding 0.
This commit is contained in:
parent
e702197e3f
commit
c8f078537e
1 changed files with 1 additions and 1 deletions
|
|
@ -3179,7 +3179,7 @@ void anv_CmdDrawIndexed(
|
|||
.StartVertexLocation = firstIndex,
|
||||
.InstanceCount = instanceCount,
|
||||
.StartInstanceLocation = firstInstance,
|
||||
.BaseVertexLocation = 0);
|
||||
.BaseVertexLocation = vertexOffset);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue