aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2017-04-21 14:31:05 -0700
committerChris Forbes <chrisf@ijw.co.nz>2017-04-23 09:53:31 +1200
commit0e0d9a4631ec59d501347edb18c1def0aa0eb856 (patch)
treeaf43d5944fa9574e4a1cdd43778af537359e0e66
parent1623d576465a3ed85f1567184f49390f3e530b1b (diff)
downloadusermoji-0e0d9a4631ec59d501347edb18c1def0aa0eb856.tar.xz
layers: remove PIPELINE_STATE::vertexAttributeDescriptions
Nobody used this.
-rw-r--r--layers/core_validation_types.h7
1 files changed, 0 insertions, 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<uint32_t, std::map<uint32_t, descriptor_req>> active_slots;
// Vtx input info (if any)
std::vector<VkVertexInputBindingDescription> vertexBindingDescriptions;
- std::vector<VkVertexInputAttributeDescription> vertexAttributeDescriptions;
std::vector<VkPipelineColorBlendAttachmentState> 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<VkVertexInputBindingDescription>(
pVICI->pVertexBindingDescriptions, pVICI->pVertexBindingDescriptions + pVICI->vertexBindingDescriptionCount);
}
- if (pVICI->vertexAttributeDescriptionCount) {
- this->vertexAttributeDescriptions = std::vector<VkVertexInputAttributeDescription>(
- pVICI->pVertexAttributeDescriptions,
- pVICI->pVertexAttributeDescriptions + pVICI->vertexAttributeDescriptionCount);
- }
}
if (pCreateInfo->pColorBlendState) {
const VkPipelineColorBlendStateCreateInfo *pCBCI = pCreateInfo->pColorBlendState;