Index: src/gpu/vk/GrVkCaps.cpp |
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp |
index 9dbc40ce7fe5423f634ccc74bc1387cd6bc95ab5..7cfddbab2a4166a948fa8e2b8a8c8706389d1918 100644 |
--- a/src/gpu/vk/GrVkCaps.cpp |
+++ b/src/gpu/vk/GrVkCaps.cpp |
@@ -102,6 +102,7 @@ void GrVkCaps::initSampleCount(const VkPhysicalDeviceProperties& properties) { |
void GrVkCaps::initGrCaps(const VkPhysicalDeviceProperties& properties, |
const VkPhysicalDeviceFeatures& features, |
const VkPhysicalDeviceMemoryProperties& memoryProperites) { |
+ fMaxVertexAttributes = properties.limits.maxVertexInputAttributes; |
// We could actually query and get a max size for each config, however maxImageDimension2D will |
// give the minimum max size across all configs. So for simplicity we will use that for now. |
fMaxRenderTargetSize = properties.limits.maxImageDimension2D; |