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:
Kristian Høgsberg Kristensen
2015-06-02 22:35:47 -07:00
parent e702197e3f
commit c8f078537e

View File

@@ -3179,7 +3179,7 @@ void anv_CmdDrawIndexed(
.StartVertexLocation = firstIndex,
.InstanceCount = instanceCount,
.StartInstanceLocation = firstInstance,
.BaseVertexLocation = 0);
.BaseVertexLocation = vertexOffset);
}
static void