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