diff options
author | Chris Forbes <chrisforbes@google.com> | 2016-03-24 11:42:09 +1300 |
---|---|---|
committer | Tobin Ehlis <tobine@google.com> | 2016-03-24 07:11:47 -0600 |
commit | 26c548826ff0f83d12c769b51e7d6f76d1265c0e (patch) | |
tree | 4366147763a6a3992871817fb0de8b50d09e6ff0 | |
parent | 47892024546c67e8db98b51b2ddb962c21088894 (diff) | |
download | vulkan-validation-layers-26c548826ff0f83d12c769b51e7d6f76d1265c0e.tar.gz |
layers: remove weird double assignment to pAttachments
-rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 625079034..63ca5362b 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -3033,7 +3033,7 @@ static VkBool32 verifyPipelineCreateState(layer_data *my_data, const VkDevice de if (pPipeline->graphicsPipelineCI.pColorBlendState != NULL) { if (!my_data->physDevProperties.features.independentBlend) { if (pPipeline->attachments.size() > 0) { - VkPipelineColorBlendAttachmentState *pAttachments = pAttachments = &pPipeline->attachments[0]; + VkPipelineColorBlendAttachmentState *pAttachments = &pPipeline->attachments[0]; for (size_t i = 1; i < pPipeline->attachments.size(); i++) { if ((pAttachments[0].blendEnable != pAttachments[i].blendEnable) || (pAttachments[0].srcColorBlendFactor != pAttachments[i].srcColorBlendFactor) || |