From 98cf60a3ce27f6afccca3150583793c143eac646 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sun, 29 Jan 2017 02:44:32 +0000 Subject: anv: limit vertex buffers to 31 Signed-off-by: Lionel Landwerlin Reviewed-by: Anuj Phogat Reviewed-by: Jason Ekstrand --- src/intel/vulkan/genX_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/vulkan/genX_pipeline.c') diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 9d28466f796..d3a9d4302e5 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -133,7 +133,7 @@ emit_vertex_input(struct anv_pipeline *pipeline, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_TILING_LINEAR); - assert(desc->binding < 32); + assert(desc->binding < MAX_VBS); if ((elements & (1 << desc->location)) == 0) continue; /* Binding unused */ -- cgit v1.2.3