summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-01-29 02:44:32 +0000
committerLionel Landwerlin <[email protected]>2017-02-02 01:32:39 +0000
commit98cf60a3ce27f6afccca3150583793c143eac646 (patch)
treeefb1f096328a1b145eacbf8a497c25753684a37b /src/intel/vulkan/anv_device.c
parent9c45bb731c97d1f02f83b872c67b2c1b04ec3a41 (diff)
anv: limit vertex buffers to 31
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 27f06ac02c6..3403dc126aa 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -562,8 +562,8 @@ void anv_GetPhysicalDeviceProperties(
.maxDescriptorSetSampledImages = 256,
.maxDescriptorSetStorageImages = 256,
.maxDescriptorSetInputAttachments = 256,
- .maxVertexInputAttributes = 32,
- .maxVertexInputBindings = 32,
+ .maxVertexInputAttributes = MAX_VBS,
+ .maxVertexInputBindings = MAX_VBS,
.maxVertexInputAttributeOffset = 2047,
.maxVertexInputBindingStride = 2048,
.maxVertexOutputComponents = 128,