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:
@@ -3179,7 +3179,7 @@ void anv_CmdDrawIndexed(
|
||||
.StartVertexLocation = firstIndex,
|
||||
.InstanceCount = instanceCount,
|
||||
.StartInstanceLocation = firstInstance,
|
||||
.BaseVertexLocation = 0);
|
||||
.BaseVertexLocation = vertexOffset);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user