From c8f078537e66ee4eba28bd5e381ef8a1a679f1be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Tue, 2 Jun 2015 22:35:47 -0700 Subject: [PATCH] vk: Implement vertexOffset parameter of vkCmdDrawIndexed() As exposed by the func.draw_indexed test, we were ignoring the argument and hardcoding 0. --- src/vulkan/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2