From: Kristian Høgsberg Kristensen Date: Wed, 3 Jun 2015 05:35:47 +0000 (-0700) Subject: vk: Implement vertexOffset parameter of vkCmdDrawIndexed() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8f078537e66ee4eba28bd5e381ef8a1a679f1be;p=mesa.git vk: Implement vertexOffset parameter of vkCmdDrawIndexed() As exposed by the func.draw_indexed test, we were ignoring the argument and hardcoding 0. --- diff --git a/src/vulkan/device.c b/src/vulkan/device.c index b76942f5de5..e44f063237f 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -3179,7 +3179,7 @@ void anv_CmdDrawIndexed( .StartVertexLocation = firstIndex, .InstanceCount = instanceCount, .StartInstanceLocation = firstInstance, - .BaseVertexLocation = 0); + .BaseVertexLocation = vertexOffset); } static void