From 0e0d9a4631ec59d501347edb18c1def0aa0eb856 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 21 Apr 2017 14:31:05 -0700 Subject: layers: remove PIPELINE_STATE::vertexAttributeDescriptions Nobody used this. --- layers/core_validation_types.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/layers/core_validation_types.h b/layers/core_validation_types.h index 50f337a4..a6a6fec1 100644 --- a/layers/core_validation_types.h +++ b/layers/core_validation_types.h @@ -549,7 +549,6 @@ class PIPELINE_STATE : public BASE_NODE { std::unordered_map> active_slots; // Vtx input info (if any) std::vector vertexBindingDescriptions; - std::vector vertexAttributeDescriptions; std::vector attachments; bool blendConstantsEnabled; // Blend constants enabled for any attachments // Store RPCI b/c renderPass may be destroyed after Pipeline creation @@ -565,7 +564,6 @@ class PIPELINE_STATE : public BASE_NODE { duplicate_shaders(0), active_slots(), vertexBindingDescriptions(), - vertexAttributeDescriptions(), attachments(), blendConstantsEnabled(false), render_pass_ci(), @@ -587,11 +585,6 @@ class PIPELINE_STATE : public BASE_NODE { this->vertexBindingDescriptions = std::vector( pVICI->pVertexBindingDescriptions, pVICI->pVertexBindingDescriptions + pVICI->vertexBindingDescriptionCount); } - if (pVICI->vertexAttributeDescriptionCount) { - this->vertexAttributeDescriptions = std::vector( - pVICI->pVertexAttributeDescriptions, - pVICI->pVertexAttributeDescriptions + pVICI->vertexAttributeDescriptionCount); - } } if (pCreateInfo->pColorBlendState) { const VkPipelineColorBlendStateCreateInfo *pCBCI = pCreateInfo->pColorBlendState; -- cgit v1.2.3