[Piglit] [PATCH 6/8] cru/func.desc.dynamic: Bind the correct number of vertex buffers
Nanley Chery
nanleychery at gmail.com
Wed Jul 13 19:58:14 UTC 2016
The vertex shader has only one vertex input attribute.
Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
---
src/tests/func/desc/dynamic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tests/func/desc/dynamic.c b/src/tests/func/desc/dynamic.c
index c57cd5c..238eb8f 100644
--- a/src/tests/func/desc/dynamic.c
+++ b/src/tests/func/desc/dynamic.c
@@ -242,7 +242,7 @@ test(void)
}
}, VK_SUBPASS_CONTENTS_INLINE);
- vkCmdBindVertexBuffers(t_cmd_buffer, 0, 2,
+ vkCmdBindVertexBuffers(t_cmd_buffer, 0, 1,
(VkBuffer[]) { buffer },
(VkDeviceSize[]) { vertex_offset });
vkCmdBindPipeline(t_cmd_buffer, VK_PIPELINE_BIND_POINT_GRAPHICS, pipeline);
--
2.9.0
More information about the Piglit
mailing list